Пример #1
0
 public ProfileBoxController(IPermissionService permisisonService, IProfileTypeService profileTypeService, ILogger logger,
                             IWarehouseService warehouseService, IUserService userService, IProfileBoxService profileBoxService,
                             IProfileService profileService, IWorkContext workContext, IResourceManager resourceManager, IWebHelper webHelper,
                             IExportManager exportManager, IAppSettings appSettings)
 {
     _permissionService  = permisisonService;
     _profileTypeService = profileTypeService;
     _logger             = logger;
     _warehouseService   = warehouseService;
     _userService        = userService;
     _profileBoxService  = profileBoxService;
     _profileService     = profileService;
     _workContext        = workContext;
     _resourceManager    = resourceManager;
     _webHelper          = webHelper;
     _exportManager      = exportManager;
     _appSettings        = appSettings;
 }
Пример #2
0
 public ProfileTypeController()
 {
     profileTypeService       = ServiceLocator.Current.GetInstance <IProfileTypeService>();
     profileTypeLocaleService = ServiceLocator.Current.GetInstance <IProfileTypeLocaleService>();
 }
 public ProfileElementController()
 {
     profileElementService = ServiceLocator.Current.GetInstance<IProfileElementService>();
     profileTypesService = ServiceLocator.Current.GetInstance<IProfileTypeService>();
     profileHeaderService = ServiceLocator.Current.GetInstance<IProfileHeaderService>();
 }
Пример #4
0
 public ProfileTypeController(IPermissionService permisisonService, IProfileTypeService profileTypeService, ILogger logger)
 {
     _permissionService  = permisisonService;
     _profileTypeService = profileTypeService;
     _logger             = logger;
 }
 public ProfileTypeController()
 {
     profileTypeService = ServiceLocator.Current.GetInstance<IProfileTypeService>();
     profileTypeLocaleService = ServiceLocator.Current.GetInstance<IProfileTypeLocaleService>();
 }
Пример #6
0
 public AllProfileTypesQueryHandler(IProfileTypeService service)
 {
     _service = service;
 }
Пример #7
0
 public OneProfileTypeByIdQueryHandler(IProfileTypeService service, OneProfileTypeByIdQuery query)
 {
     _service = service;
     _query   = query;
 }
Пример #8
0
 public ProfileElementController()
 {
     profileElementService = ServiceLocator.Current.GetInstance <IProfileElementService>();
     profileTypesService   = ServiceLocator.Current.GetInstance <IProfileTypeService>();
     profileHeaderService  = ServiceLocator.Current.GetInstance <IProfileHeaderService>();
 }
 public ProfileTypeQueryHandlerFactory(IProfileTypeService service)
 {
     _service = service;
 }