Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

IAdService.cs 473B

1234567891011121314151617181920
  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 CreateAsync(AdCreateDto adCreateDto);
  10. Task UpdateAsync(int id, AdUpdateDto adUpdateDto);
  11. Task DeleteAsync(int id);
  12. }
  13. }