ICompanyService.cs 510 B

123456789101112131415161718192021
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Application.Models;
  3. using MTWorkHR.Core.Entities;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace MTWorkHR.Application.Services.Interfaces
  10. {
  11. public interface ICompanyService : IService<Company, CompanyDto, CompanyDto>
  12. {
  13. Task<List<CompanyDto>> GetAllCompanies();
  14. Task<CompanyDto> GetById();
  15. Task<CompanyDto> GetById(long companyId);
  16. }
  17. }