示例#1
0
 public CartController(
     IBasketService basketService,
     IIdentityParser <ApplicationUser> appUserParser,
     IReferenceDataService referenceDataService,
     ICustomerService customerService
     ) =>
 (this.basketService, this.appUserParser, this.referenceDataService, this.customerService) =
示例#2
0
 public CartController(IBasketService basketSvc, ICatalogService catalogSvc, IIdentityParser <ApplicationUser> appUserParser, ICouponService couponService)
 {
     _basketSvc     = basketSvc;
     _catalogSvc    = catalogSvc;
     _appUserParser = appUserParser;
     _couponSvc     = couponService;
 }
示例#3
0
 public HomeController(IHttpClientFactory clientFactory, IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IIdentityParser <ApplicationUser> appUserParser)
 {
     _clientFactory       = clientFactory;
     _configuration       = configuration;
     _httpContextAccessor = httpContextAccessor;
     _appUserParser       = appUserParser;
 }
示例#4
0
 public CartController(IBasketService basketSvc,
                       IIdentityParser <ApplicationUser> appUserParser)
 {
     //_catalogSvc = catalogSvc;
     _basketSvc     = basketSvc;
     _appUserParser = appUserParser;
 }
 public OrderController(IOrderingService orderSvc, IBasketService basketSvc, IIdentityParser <ApplicationUser> appUserParser, ICatalogService catalogSvc)
 {
     _appUserParser = appUserParser;
     _orderSvc      = orderSvc;
     _basketSvc     = basketSvc;
     _catalogSvc    = catalogSvc;
 }
示例#6
0
 public CartController(IBasketService basketSvc, ICatalogService catalogService, IIdentityParser <ApplicationUser> appUserParser,
                       ILogger <CartController> logger)
 {
     _basketSvc      = basketSvc;
     _catalogService = catalogService;
     _appUserParser  = appUserParser;
     _logger         = logger;
 }
示例#7
0
 public RegistrationController(
     IIdentityParser <ApplicationUser> appUserParser,
     ILogger <RegistrationController> logger,
     IUserRedisRepository repository)
     : base(logger, repository)
 {
     this.appUserParser = appUserParser;
 }
示例#8
0
 public LightsController(
     IIdentityParser <ApplicationUser> identityParser,
     ILedDeviceService ledDeviceService,
     ILoggingService loggingService) : base(loggingService)
 {
     this._identityParser   = identityParser;
     this._ledDeviceService = ledDeviceService;
 }
示例#9
0
 public ClimateController(
     IIdentityParser <ApplicationUser> identityParser,
     IClimateDeviceService climateDeviceService,
     ILoggingService loggingService
     ) : base(loggingService)
 {
     this._identityParser       = identityParser;
     this._climateDeviceService = climateDeviceService;
 }
 public PedidoController(
     IIdentityParser <ApplicationUser> appUserParser,
     IPedidoService pedidoService,
     ILogger <PedidoController> logger,
     IUserRedisRepository repository)
     : base(logger, repository)
 {
     this.appUserParser = appUserParser;
     this.pedidoService = pedidoService;
 }
 public OrderController(
     IIdentityParser <ApplicationUser> appUserParser,
     IOrderService orderService,
     ILogger <OrderController> logger,
     IUserRedisRepository repository)
     : base(logger, repository)
 {
     this.appUserParser = appUserParser;
     this.orderService  = orderService;
 }
示例#12
0
 public CartController(
     ICoursePlannerService plannerSvc,
     ICourseService courseSvc,
     IIdentityParser <Student> appUserParser
     )
 {
     _plannerSvc    = plannerSvc;
     _courseSvc     = courseSvc;
     _appUserParser = appUserParser;
 }
 public CarrinhoController(
     IHttpContextAccessor contextAccessor,
     IIdentityParser <ApplicationUser> appUserParser,
     ILogger <CarrinhoController> logger,
     ICatalogoService catalogoService,
     ICarrinhoService carrinhoService,
     IUserRedisRepository repository)
     : base(logger, repository)
 {
     this.appUserParser   = appUserParser;
     this.catalogoService = catalogoService;
     this.carrinhoService = carrinhoService;
 }
示例#14
0
 public BasketController(
     IHttpContextAccessor contextAccessor,
     IIdentityParser <ApplicationUser> appUserParser,
     ILogger <BasketController> logger,
     ICatalogService catalogService,
     IBasketService basketService,
     IUserRedisRepository repository)
     : base(logger, repository)
 {
     this.appUserParser  = appUserParser;
     this.catalogService = catalogService;
     this.basketService  = basketService;
 }
示例#15
0
        public ProgenyManager(IHttpContextAccessor httpContextAccessor, IConfiguration configuration, IIdentityParser <ApplicationUser> userManager, ImageStore imageStore, HttpClient httpClient, ApiTokenInMemoryClient apiTokenClient)
        {
            _configuration       = configuration;
            _httpContextAccessor = httpContextAccessor;
            _userManager         = userManager;
            _imageStore          = imageStore;
            _httpClient          = httpClient;
            _apiTokenClient      = apiTokenClient;
            string clientUri = _configuration.GetValue <string>("ProgenyApiServer");

            httpClient.BaseAddress = new Uri(clientUri);
            httpClient.DefaultRequestHeaders.Accept.Clear();
            httpClient.DefaultRequestHeaders.Accept.Add(
                new MediaTypeWithQualityHeaderValue("application/json"));
        }
示例#16
0
 public DeviceService(
     IUnitOfWorkManager unitOfWorkManager,
     ILogger <DeviceService> logger,
     IMapper mapper,
     IIdentityParser <ApplicationUser> identityParser,
     IHttpContextAccessor httpContextAccessor,
     IServiceBusSender serviceBusSender,
     IErrorInformatorService errorInformatorService)
 {
     this._logger                 = logger;
     this._unitOfWorkManager      = unitOfWorkManager;
     this._mapper                 = mapper;
     this._identityParser         = identityParser;
     this._httpContextAccessor    = httpContextAccessor;
     this._serviceBusSender       = serviceBusSender;
     this._errorInformatorService = errorInformatorService;
 }
 public AccountController(IIdentityParser <ApplicationUser> identityParser) =>
示例#18
0
 public BasePageModel(IHttpClientFactory httpClient, IIdentityParser <ApplicationUser> appUserParser)
 {
     _httpClient    = httpClient;
     _appUserParser = appUserParser;
 }
示例#19
0
 public ApplicationController(IApplyingService applicationSvc, IBasketService basketSvc, IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser  = appUserParser;
     _applicationSvc = applicationSvc;
     _basketSvc      = basketSvc;
 }
 public ApplicationManagementController(IApplyingService applicationSvc, IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser  = appUserParser;
     _applicationSvc = applicationSvc;
 }
示例#21
0
 public AccountController(IOptions <AppSettings> appSettings, IIdentityParser <ApplicationUser> identityParser)
 {
     this.appSettings    = appSettings;
     this.identityParser = identityParser;
 }
示例#22
0
 public HomeController(ITestService testSvc, IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser = appUserParser;
     _testSvc       = testSvc;
 }
示例#23
0
 public HomeController(IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser = appUserParser;
 }
示例#24
0
 public UserController(IManageUserProfile manageUserProfile, IIdentityParser <ApplicationUser> appUserParser)
 {
     _manageUserProfile = manageUserProfile;
     _appUserParser     = appUserParser;
 }
示例#25
0
 public HomeController(IIdentityParser <ApplicationUser> appUserParser, IConsumidorService consumidorService)
 {
     _appUserParser     = appUserParser;
     _consumidorService = consumidorService;
 }
示例#26
0
 public EmployeeController(IEmployeeService empSvc, IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser = appUserParser;
     _empSvc        = empSvc;
 }
 public OrderManagementController(IOrderingService orderSvc, IIdentityParser <ApplicationUser> appUserParser)
 {
     _appUserParser = appUserParser;
     _orderSvc      = orderSvc;
 }
示例#28
0
 public ProfileModel(IHttpClientFactory httpClient, IIdentityParser <ApplicationUser> appUserParser) : base(httpClient, appUserParser)
 {
 }
 public TestController(IHttpClientFactory client, IIdentityParser <ApplicationUser> identityParser)
 {
     _client        = client;
     _appUserParser = identityParser;
 }
示例#30
0
 public UserController(IIdentityParser <ApplicationUser> appUserParser, ILogger <UserController> logger)
 {
     _appUserParser = appUserParser ?? throw new ArgumentNullException(nameof(appUserParser));
     _logger        = logger ?? throw new ArgumentNullException(nameof(logger));
 }