Exemplo n.º 1
0
 public ProfilesController(UserManager <ApplicationUser> manager, IOptions <PhotoAppSettings> photoSettings, IOptions <AwsAppSettings> awsSettings, IServiceProviderRepository serviceProviderRepository, IAwsServiceClient awsServiceClient)
 {
     _manager          = manager;
     _awsAppSettings   = awsSettings.Value;
     _photoAppSettings = photoSettings.Value;
     _awsServiceClient = awsServiceClient;
 }
Exemplo n.º 2
0
 public ProfilesController(UserManager <ApplicationUser> userManager, IMapper mapper, IOptions <PhotoAppSettings> photoSettings, IOptions <AwsAppSettings> awsSettings, IAwsServiceClient awsServiceClient)
 {
     _userManager      = userManager;
     _mapper           = mapper;
     _photoAppSettings = photoSettings.Value;
     _awsAppSettings   = awsSettings.Value;
     _awsServiceClient = awsServiceClient;
 }
Exemplo n.º 3
0
 public AccountsController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IConfiguration configuration, IAwsMailClient mailClient, IAwsServiceClient awsServiceClient, IOptions <AwsAppSettings> awsSettings, IOptions <PhotoAppSettings> photoSettings)
 {
     _userManager      = userManager;
     _signInManager    = signInManager;
     _configuration    = configuration;
     _mailClient       = mailClient;
     _awsServiceClient = awsServiceClient;
     _awsAppSettings   = awsSettings.Value;
     _photoAppSettings = photoSettings.Value;
 }
Exemplo n.º 4
0
 public ServicePhotosController(IMapper mapper,
                                IServiceRepository serviceRepository,
                                IUnitOfWork unitOfWork,
                                IOptions <PhotoAppSettings> photoSettings,
                                IServicePhotoRepository photoRepository,
                                IAwsServiceClient awsServiceClient,
                                IOptions <AwsAppSettings> awsAppSettings)
 {
     _mapper            = mapper;
     _serviceRepository = serviceRepository;
     _unitOfWork        = unitOfWork;
     _photoAppSettings  = photoSettings.Value;
     _repository        = photoRepository;
     _awsServiceClient  = awsServiceClient;
     _awsAppSettings    = awsAppSettings.Value;
 }
Exemplo n.º 5
0
 public InvoicesController(IInvoiceRepository repository,
                           IUnitOfWork unitOfWork,
                           IMapper mapper,
                           UserManager <ApplicationUser> userManager,
                           IOptions <PhotoAppSettings> photoSettings,
                           IOptions <AwsAppSettings> awsSettings,
                           IAwsServiceClient awsServiceClient,
                           IJobBudgetRepository jobBudgetRepository
                           )
 {
     _awsAppSettings      = awsSettings.Value;
     _photoAppSettings    = photoSettings.Value;
     _repository          = repository;
     _userManager         = userManager;
     _unitOfWork          = unitOfWork;
     _mapper              = mapper;
     _jobBudgetRepository = jobBudgetRepository;
     _awsServiceClient    = awsServiceClient;
 }