You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IAdService.cs 550B

12345678910111213141516171819202122
  1. namespace Diligent.WebAPI.Business.Services.Interfaces
  2. {
  3. public interface IAdService
  4. {
  5. Task<List<AdResponseDto>> GetAllAsync();
  6. Task<AdResponseDto> GetByIdAsync(int id);
  7. Task<AdDetailsResponseDto> GetAdDetailsByIdAsync(int id);
  8. Task<List<AdResponseDto>> GetArchiveAds();
  9. Task<List<AdResponseDto>> GetFilteredAdsAsync(AdFilterDto filters);
  10. Task CreateAsync(AdCreateDto adCreateDto);
  11. Task UpdateAsync(int id, AdUpdateDto adUpdateDto);
  12. Task DeleteAsync(int id);
  13. }
  14. }