Exemple #1
0
 public UserController(ILogger <UserController> logger, IUserRepository userRepository, IOneTimePasswordRepository otpRepository, IMailService mailService)
 {
     _userRepository = userRepository;
     _otpRepository  = otpRepository;
     _mailService    = mailService;
     _logger         = logger;
 }
Exemple #2
0
 public OTPController(ILogger <RoomController> logger, IOneTimePasswordRepository otpRepository, IUserRepository userRepository)
 {
     _logger         = logger;
     _otpRepository  = otpRepository;
     _userRepository = userRepository;
 }