exper
This commit is contained in:
@@ -22,7 +22,16 @@ namespace Hushian.Application.Services
|
||||
private readonly IMessageSender _messageSender;
|
||||
private readonly IGenericRepository<User> _UserRepository;
|
||||
private readonly AuthService _authService;
|
||||
public async Task<int> GenerateCodeForLoginUser(string Mobile)
|
||||
|
||||
public VerificationService(IGenericRepository<VerificationCode> verificationCodeRepository, IMessageSender messageSender, IGenericRepository<User> userRepository, AuthService authService)
|
||||
{
|
||||
_VerificationCodeRepository = verificationCodeRepository;
|
||||
_messageSender = messageSender;
|
||||
_UserRepository = userRepository;
|
||||
_authService = authService;
|
||||
}
|
||||
|
||||
public async Task<int> GenerateCodeForLoginUser(string Mobile)
|
||||
{
|
||||
string Code = await GenerateCode();
|
||||
var response= await _VerificationCodeRepository.ADD
|
||||
|
||||
Reference in New Issue
Block a user