public CharacteristicsController(
     ICharacteristicService service,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <Characteristic, CharacteristicViewModel> > logger)
     : base(service, activatorService, identityService, scopedParameters, logger)
 {
 }
Beispiel #2
0
 public CartItemService(
     StoreContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <CartItem> authoriationParameters,
     IAppLogger <Service <CartItem> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
 }
 public CartItemsController(
     ICartItemService cartItemService,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <CartItem, CartItemViewModel> > logger)
     : base(cartItemService, activatorService, identityService, scopedParameters, logger)
 {
 }
 public BrandsController(
     IBrandService brandService,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <Brand, BrandViewModel> > logger)
     : base(brandService, activatorService, identityService, scopedParameters, logger)
 {
 }
Beispiel #5
0
 public ItemVariantsController(
     IItemVariantService itemVariantService,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <ItemVariant, ItemVariantViewModel> > logger)
     : base(itemVariantService, activatorService, identityService, scopedParameters, logger)
 {
 }
 public ItemVariantService(
     StoreContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <ItemVariant> authoriationParameters,
     IAppLogger <Service <ItemVariant> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
 }
Beispiel #7
0
 public CategoriesController(
     ICategoryService service,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <Category, CategoryViewModel> > logger)
     : base(service, activatorService, identityService, scopedParameters, logger)
 {
 }
 public ImageService(
     StoreContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <TImage> authoriationParameters,
     IConfiguration configuration,
     IAppLogger <Service <TImage> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, configuration, logger)
 {
 }
 public OrdersController(
     IOrderService orderService,
     ICartItemService cartItemService,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <Order, OrderViewModel> > logger)
     : base(orderService, activatorService, identityService, scopedParameters, logger)
 {
 }
 public ItemsController(
     IItemService service,
     IActivatorService activatorService,
     IScopedParameters scopedParameters,
     IIdentityService identityService,
     IAuthorizationService authorizationService,
     IAppLogger <IController <Item, ItemViewModel> > logger)
     : base(service, activatorService, identityService, scopedParameters, logger)
 {
 }
 public StoreService(
     StoreContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IItemService itemService,
     IAuthorizationParameters <Store> authoriationParameters,
     IAppLogger <Service <Store> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
     _itemService = itemService;
 }
 public CharacteristicService(
     StoreContext context,
     IIdentityService identityService,
     ICategoryService categoryService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <Characteristic> authoriationParameters,
     IAppLogger <Service <Characteristic> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
     _categoryService = categoryService;
 }
 public StoresController(
     IStoreService storeService,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <Store> authoriationParameters,
     IAppLogger <IController <Store, StoreViewModel> > logger)
     : base(storeService, activatorService, identityService, scopedParameters, logger)
 {
     AuthorziationParameters = authoriationParameters;
 }
Beispiel #14
0
 public ItemPropertyService(
     StoreContext context,
     IIdentityService identityService,
     ICharacteristicValueService characteristicValueService,
     IScopedParameters scopedParameters,
     IItemVariantService itemVariantService,
     IAuthorizationParameters <ItemProperty> authoriationParameters,
     IAppLogger <Service <ItemProperty> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
     _itemVariantService         = itemVariantService;
     _characteristicValueService = characteristicValueService;
 }
 public FileInfoService(
     StoreContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <TFileInfo> authoriationParameters,
     IConfiguration configuration,
     IAppLogger <Service <TFileInfo> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
     Name           = typeof(TFileInfo).Name + "FileDetailService";
     _configuration = configuration;
     _rootPath      = Path.Combine(configuration.GetValue <string>(WebHostDefaults.ContentRootKey), "files");
 }
Beispiel #16
0
 public ItemService(
     StoreContext context,
     IIdentityService identityService,
     IItemVariantImageService itemVariantImageService,
     ICategoryService categoryService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <Item> authoriationParameters,
     IAppLogger <Service <Item> > logger)
     : base(context, identityService, scopedParameters, authoriationParameters, logger)
 {
     _itemVariantImageService = itemVariantImageService;
     _categoryService         = categoryService;
 }
Beispiel #17
0
 public CRUDController(
     TService service,
     IActivatorService activatorService,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAppLogger <IController <TEntity, TViewModel> > logger)
 {
     _service          = service;
     _activatorService = activatorService;
     ScopedParameters  = scopedParameters;
     _logger           = logger;
     _identityService  = identityService;
     _logger.Name      = _entityName + "Controller";
 }
Beispiel #18
0
 public Service(
     DbContext context,
     IIdentityService identityService,
     IScopedParameters scopedParameters,
     IAuthorizationParameters <TEntity> authoriationParameters,
     IAppLogger <Service <TEntity> > logger)
 {
     _сontext                = context;
     _scopedParameters       = scopedParameters;
     _authoriationParameters = authoriationParameters;
     _identityService        = identityService;
     _logger = logger;
     Name    = typeof(TEntity).Name + "Service";
 }