IUserService.cs 996 B

123456789101112131415161718192021222324252627282930313233
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Application.Models;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Application.Identity
  9. {
  10. public interface IUserService
  11. {
  12. Task<PagingResultDto<UserAllDto>> GetAll(UserPagingInputDto PagingInputDto);
  13. Task<UserDto> GetById(string userId);
  14. Task<List<UserDto>> GetAllEmployees();
  15. Task Delete(string id);
  16. Task<UserDto> Create(UserDto input);
  17. Task<UserDto> Update(UserDto input);
  18. Task<ForgetPasswordResponseDto> ForgetPasswordMail(string input);
  19. Task<bool> ResetPassword(ResetPasswordDto input);
  20. Task<bool> ForgetPassword(ForgetPasswordDto model);
  21. Task<bool> ConfirmEmail(ConfirmEmailDto model);
  22. Task<bool> IsExpiredToken(ConfirmEmailDto model);
  23. Task<bool> VerifyOTP(VerifyOTPDto input);
  24. Task<List<UserAllDto>> GetAllCompanyEmployees();
  25. }
  26. }