26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
using IRaCIS.Application.Contracts;
 | 
						|
using IRaCIS.Core.Domain.Share;
 | 
						|
 | 
						|
namespace IRaCIS.Core.Application.Service
 | 
						|
{
 | 
						|
    public interface IUserService
 | 
						|
    {
 | 
						|
        Task<IResponseOutput<UserAddedReturnDTO>> AddUser(UserCommand userAddModel);
 | 
						|
        Task<IResponseOutput> DeleteUser(Guid userId);
 | 
						|
        Task<UserDetailDTO> GetUser(Guid id);
 | 
						|
        Task<PageOutput<UserListDTO>> GetUserList(UserListQueryDTO param);
 | 
						|
        Task<IResponseOutput<LoginReturnDTO>> Login(string userName, string password);
 | 
						|
        Task<IResponseOutput> VerifyMFACodeAsync(Guid userId, string Code);
 | 
						|
 | 
						|
        Task<IResponseOutput> SendMFAEmail(Guid userId, int mfaType = 0);
 | 
						|
        Task<UserBasicInfo> GetUserBasicInfo(Guid userId, string pwd);
 | 
						|
        Task<IResponseOutput> ModifyPassword(EditPasswordCommand editPwModel);
 | 
						|
        Task<IResponseOutput> ResetPassword(Guid userId);
 | 
						|
 | 
						|
        Task<IResponseOutput> UpdateUser(UserCommand model);
 | 
						|
        Task<IResponseOutput> UpdateUserState(Guid userId, UserStateEnum state);
 | 
						|
 | 
						|
        //Task<IResponseOutput> SendVerificationCode(string emailOrPhone, VerifyType verificationType, bool isReviewer = false);
 | 
						|
        //Task<IResponseOutput> SetNewPassword(ResetPasswordCommand resetPwdModel);
 | 
						|
    }
 | 
						|
} |