2024-05-02 00:21:29 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Wino.Core.Domain.Models.Reader;
|
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
namespace Wino.Core.Domain.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
public interface IUnsubscriptionService
|
2024-05-02 00:21:29 +02:00
|
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Unsubscribes from the subscription using one-click method.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="info">Unsubscribtion information.</param>
|
|
|
|
|
|
/// <returns>Whether the unsubscription is succeeded or not.</returns>
|
|
|
|
|
|
Task<bool> OneClickUnsubscribeAsync(UnsubscribeInfo info);
|
2024-05-02 00:21:29 +02:00
|
|
|
|
}
|