Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

IPatternService.cs 551B

12345678910111213141516171819202122
  1. using Diligent.WebAPI.Contracts.DTOs.Pattern;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Diligent.WebAPI.Business.Services.Interfaces
  8. {
  9. public interface IPatternService
  10. {
  11. Task<List<PatternResponseDto>> GetAllAsync();
  12. Task<PatternResponseDto> GetByIdAsync(int id);
  13. Task CreateAsync(PatternCreateDto patternCreateDto);
  14. Task UpdateAsync(PatternUpdateDto patternUpdateDto, int id);
  15. Task DeleteAsync(int id);
  16. }
  17. }