IUserService.cs 881 B

12345678910111213141516171819202122232425262728293031
  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<string> ForgetPasswordMail(string input);
  19. Task<bool> ResetPassword(ResetPasswordDto input);
  20. Task<bool> ForgetPassword(ForgetPasswordDto model);
  21. Task<bool> ConfirmEmail(ForgetPasswordDto model);
  22. Task<bool> IsExpiredToken(ForgetPasswordDto model);
  23. }
  24. }