generated from ricardo/MVCLogin
27 lines
674 B
C#
27 lines
674 B
C#
using BaseDomain.Results;
|
|
using Postall.Domain.Dtos;
|
|
using Postall.Domain.Services.Contracts;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Postall.Domain.Application
|
|
{
|
|
public class ChannelApplicationService
|
|
{
|
|
private readonly IChannelService _channelService;
|
|
|
|
public ChannelApplicationService(IChannelService channelService)
|
|
{
|
|
_channelService = channelService;
|
|
}
|
|
|
|
public async Task<Result<List<ChannelResponse>>> GetUserChannelsAsync()
|
|
{
|
|
return await _channelService.GetUserChannelsAsync();
|
|
}
|
|
}
|
|
}
|