public PrankController(IHostingEnvironment environment, IOptions <MySettingsModel> app, SignInManager <PrankIdentityUser> loginManager, IConfiguration iconfiguration, UserManager <PrankIdentityUser> userManager, IAwsS3HelperService awsS3Service)
 {
     appSettings = app;
     ApplicationSettings.WebApiUrl = appSettings.Value.WebApiBaseUrl;
     this.loginManager             = loginManager;
     this.userManager = userManager;
     _iconfiguration  = iconfiguration;
     hostEnvironment  = environment;
     _awsS3Service    = awsS3Service;
 }
Пример #2
0
 public AddressController(LocationDBContext _dbContext, IHttpContextAccessor httpContextAccessor, IAwsS3HelperService awsS3Service)
 {
     dbContext            = _dbContext;
     _httpContextAccessor = httpContextAccessor;
     _awsS3Service        = awsS3Service;
 }
Пример #3
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="awsS3Service"></param>
 public AwsS3Controller(IAwsS3HelperService awsS3Service)
 {
     _awsS3Service = awsS3Service;
 }
 public AwsController(TakimOmruDBContext _db, IAwsS3HelperService awsS3Service)
 {
     db            = _db;
     _awsS3Service = awsS3Service;
 }