コード例 #1
0
 public MedicalInstituteAccountController(
     IMedicalInstituteAccountService medicalInstituteAccountService,
     IAccountEmailService accountEmailService,
     IAuthService authService) : base(authService)
 {
     MedicalInstituteAccountService = medicalInstituteAccountService;
     AccountEmailService            = accountEmailService;
 }
コード例 #2
0
 public EmailModel(ILogger <PageModel> logger,
                   UserManager <User> userManager,
                   IAccountEmailService acctEmailService)
 {
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     _userManager      = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _acctEmailService = acctEmailService ?? throw new ArgumentNullException(nameof(acctEmailService));
 }
コード例 #3
0
 public MedicalInstituteAccountService(
     UserManager <AppUser> userManager,
     IMapper mapper,
     IUnitOfWork unitOfWork,
     IAccountEmailService accountEmailService)
     : base(userManager, mapper, unitOfWork)
 {
     AccountEmailService = accountEmailService;
 }
コード例 #4
0
 public PatientAccountService(
     UserManager <AppUser> userManager,
     IMapper mapper,
     IUnitOfWork unitOfWork,
     IAccountEmailService accountEmailService)
     : base(userManager, mapper, unitOfWork)
 {
     AccountEmailService = accountEmailService;
 }
コード例 #5
0
 public PatientAccountController(
     IUnitOfWork unitOfWork,
     IPatientAccountService patientAccountService,
     IAccountEmailService accountEmailService,
     IAuthService authService) : base(authService)
 {
     UnitOfWork            = unitOfWork;
     PatientAccountService = patientAccountService;
     AccountEmailService   = accountEmailService;
 }
コード例 #6
0
 public DriverAccountService(
     UserManager <AppUser> userManager,
     IMapper mapper,
     IUnitOfWork unitOfWork,
     IAccountEmailService accountEmailService)
 {
     UnitOfWork          = unitOfWork;
     UserManager         = userManager;
     Mapper              = mapper;
     AccountEmailService = accountEmailService;
 }
コード例 #7
0
 public ResendConfirmationEmailModel(IAccountEmailService acctEmailService)
 {
     _acctEmailService = acctEmailService ?? throw new ArgumentNullException(nameof(acctEmailService));
 }
コード例 #8
0
 public ForgotPasswordModel(IAccountEmailService acctEmailService)
 {
     _acctEmailService = acctEmailService ?? throw new ArgumentNullException(nameof(acctEmailService));
 }
コード例 #9
0
 public RegisterModel(IAccountEmailService acctEmailService,
                      UserManager <User> userManager)
 {
     _acctEmailService = acctEmailService ?? throw new ArgumentNullException(nameof(acctEmailService));
     _userManager      = userManager ?? throw new ArgumentNullException(nameof(userManager));
 }