MVCPostall/Postall.Domain/Services/Contracts/IVideoYoutubeService.cs
2025-03-08 19:13:24 -03:00

14 lines
496 B
C#

using BaseDomain.Results;
using Postall.Domain.Dtos;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Postall.Domain.Services.Contracts
{
public interface IVideoYoutubeService
{
Task<Result<VideoResponse>> GetVideoDetailsAsync(string videoId);
Task<Result<List<VideoResponse>>> GetChannelVideosAsync(string channelId, int maxResults = 50);
Task<Result<List<VideoResponse>>> SearchVideosAsync(string query, int maxResults = 10);
}
}