IUserService.cs 681 B

12345678910111213141516171819202122232425
  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 ForgetPassword(string input);
  18. Task<bool> ConfirmForgetPassword(ForgetPasswordDto input);
  19. Task<bool> ResetPassword(ResetPasswordDto input);
  20. }
  21. }