2024-04-27 22:36:16 +02:00
|
|
|
|
using WatchIt.Common.Model.Genres;
|
2024-11-08 17:53:23 +01:00
|
|
|
|
using WatchIt.Common.Model.Media;
|
2024-04-27 22:36:16 +02:00
|
|
|
|
using WatchIt.WebAPI.Services.Controllers.Common;
|
|
|
|
|
|
|
|
|
|
|
|
namespace WatchIt.WebAPI.Services.Controllers.Genres;
|
|
|
|
|
|
|
|
|
|
|
|
public interface IGenresControllerService
|
|
|
|
|
|
{
|
2024-11-08 17:53:23 +01:00
|
|
|
|
Task<RequestResult> GetGenres(GenreQueryParameters query);
|
|
|
|
|
|
Task<RequestResult> GetGenre(short id);
|
|
|
|
|
|
Task<RequestResult> PostGenre(GenreRequest data);
|
|
|
|
|
|
Task<RequestResult> DeleteGenre(short id);
|
|
|
|
|
|
Task<RequestResult> GetGenreMedia(short id, MediaQueryParameters query);
|
2024-04-27 22:36:16 +02:00
|
|
|
|
}
|