Esempio n. 1
0
 public UsersController(DatabaseContext dbContext, IOptions <Configurations.Authentication> authSettings)
 {
     _authSettings = authSettings.Value;
     _dbContext    = dbContext;
 }
Esempio n. 2
0
 public AccountsController(IOptions <Configurations.Authentication> authSettings, DatabaseContext dbContext)
 {
     _authSettings = authSettings.Value;
     _dbContext    = dbContext;
 }
Esempio n. 3
0
 public ChequeReqsController(DatabaseContext dbContext, IOptions <Configurations.Authentication> authSettings, IAmazonS3 s3Client)
 {
     _authSettings = authSettings.Value;
     _dbContext    = dbContext;
     _s3Client     = s3Client;
 }