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