IUserService.cs 739 B

123456789101112131415161718192021222324252627
  1. using MTWorkHR.Application.Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace MTWorkHR.Application.Identity
  8. {
  9. public interface IUserService
  10. {
  11. Task<List<UserDto>> GetAll();
  12. Task<UserDto> GetById(string userId);
  13. Task Delete(string id);
  14. Task<UserDto> Create(UserDto input);
  15. Task<UserDto> Update(UserDto input);
  16. Task<UserDto> UpdateWithoutChildren(UserDto input);
  17. Task ForgetPasswordMail(string input);
  18. Task<bool> ResetPassword(ResetPasswordDto input);
  19. Task<bool> ForgetPassword(ForgetPasswordDto model);
  20. Task<bool> IsExpiredToken(ForgetPasswordDto model);
  21. }
  22. }