MVCPostall/Postall.Domain/Application/ChannelApplicationService.cs
2025-03-04 19:06:01 -03:00

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();
}
}
}