| 1234567891011121314151617181920212223 |
-
- namespace Diligent.WebAPI.Business.Services.Interfaces
- {
- public interface IAdService
- {
- Task<List<AdResponseDto>> GetAllAsync();
- Task<List<AdResponseWithCountDto>> GetAllWithCountAsync();
-
- Task<AdResponseDto> GetByIdAsync(int id);
-
- Task<AdDetailsResponseDto> GetAdDetailsByIdAsync(int id);
-
- Task<List<AdResponseDto>> GetArchiveAds();
-
- Task<List<AdResponseDto>> GetFilteredAdsAsync(AdFilterDto filters);
-
- Task CreateAsync(AdCreateDto adCreateDto);
-
- Task UpdateAsync(int id, AdUpdateDto adUpdateDto);
-
- Task DeleteAsync(int id);
- }
- }
|