using MTWorkHR.Application.Models; using System.Threading.Tasks; namespace MTWorkHR.Application.Services.Interfaces { public interface IService where TEntity : class where TDto : class where TGetAllDto : class { Task> GetAll(PagingInputDto pagingInputDto); Task GetById(long id); Task Delete(long id); Task Create(TDto input); Task Update(TDto input); } public interface IService where TEntity : class where TDto : class where TUpdatDto : class where TGetAllDto : class { Task> GetAll(PagingInputDto pagingInputDto); Task GetById(long id); Task Delete(long id); Task Create(TDto input); Task Update(TUpdatDto input); } public interface IService where TEntity : class where TGetDto : class where TCreateDto : class where TUpdatDto : class where TGetAllDto : class { Task> GetAll(PagingInputDto pagingInputDto); Task GetById(long id); Task Delete(long id); Task Create(TCreateDto input); Task Update(TUpdatDto input); } }