generated from ricardo/MVCLogin
24 lines
643 B
C#
24 lines
643 B
C#
using BaseDomain.Results;
|
|
using Postall.Domain.Dtos;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Postall.Domain.Services.Contracts
|
|
{
|
|
public interface IChannelService
|
|
{
|
|
Task<Result<List<ChannelResponse>>> GetUserChannelsAsync();
|
|
|
|
Task<Result<bool>> AddChannelAsync(string channelId);
|
|
|
|
Task<Result<bool>> RemoveChannel(string channelId);
|
|
|
|
Task<Result<List<ChannelResponse>>> SearchChannelsAsync(string query, int maxResults = 5);
|
|
|
|
Task<Result<ChannelResponse>> GetChannelDetailsAsync(string channelId);
|
|
}
|
|
}
|