Beispiel #1
0
 public AuthenticationRepository(
     ApplicationDbContext context, UserManager <AppUser> userManager, ICustomSystemLog customSystemLog,
     IMapper mapper, IOptions <AppIdentitySettings> identitySettings)
 {
     _context          = context;
     _userManager      = userManager;
     _customSystemLog  = customSystemLog;
     _mapper           = mapper;
     _identitySettings = identitySettings.Value;
 }
Beispiel #2
0
 public SendMessageToEmail(AppIdentitySettings appIdentitySettings)
 {
     _appIdentitySettings = appIdentitySettings;
 }
 public SendEmailController(IOptions <AppIdentitySettings> appIdentitySettingsAccessor, IPersonRequestRepository personRequest)
 {
     _appIdentitySettings = appIdentitySettingsAccessor.Value;
     _sendMessageToEmail  = new SendMessageToEmail(_appIdentitySettings);
     _personRequest       = personRequest;
 }
Beispiel #4
0
 public OrderController(IOrder order, ShopCart shopCart, IOptions <AppIdentitySettings> appIdentitySettingsAccessor)
 {
     this._order          = order;
     this._shopCart       = shopCart;
     _appIdentitySettings = appIdentitySettingsAccessor.Value;
 }