1234567891011121314151617181920212223242526272829 |
- using Microsoft.AspNetCore.Http;
- using MTWorkHR.Application.Models;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Application.Identity
- {
- public interface IUserService
- {
- Task<List<UserDto>> GetAll();
- Task<UserDto> GetById(string userId);
- Task Delete(string id);
- Task<UserDto> Create(UserDto input);
- Task<UserDto> Update(UserDto input);
- Task<UserDto> UpdateWithoutChildren(UserDto input);
- Task ForgetPasswordMail(string input);
- Task<bool> ResetPassword(ResetPasswordDto input);
- Task<bool> ForgetPassword(ForgetPasswordDto model);
- Task<bool> ConfirmEmail(ForgetPasswordDto model);
- Task<bool> IsExpiredToken(ForgetPasswordDto model);
- }
- }
|