Пример #1
0
 public ManagementController(
     IOutletManagementService outletManagementService,
     IUserService userService,
     IStoreService storeService,
     IManagementModelFactory managementModelFactory,
     IRepository <StoreUserAssign> storeUserAssignRepository,
     IRepository <StoreUserAssignStores> storeUserAssignStoresRepository,
     IRepository <StoreGrouping> storeGroupingRepository,
     IRepository <StoreGroupingStores> storeGroupingStoresRepository,
     IRepository <Store> storeRepository,
     IRepository <User> userRepository,
     IPermissionService permissionService,
     INotificationService notificationService,
     ILoggerFactory loggerFactory)
 {
     this._outletManagementService         = outletManagementService;
     this._userService                     = userService;
     this._storeService                    = storeService;
     this._managementModelFactory          = managementModelFactory;
     this._storeUserAssignRepository       = storeUserAssignRepository;
     this._storeUserAssignStoresRepository = storeUserAssignStoresRepository;
     this._storeGroupingRepository         = storeGroupingRepository;
     this._storeGroupingStoresRepository   = storeGroupingStoresRepository;
     this._storeRepository                 = storeRepository;
     this._userRepository                  = userRepository;
     _permissionService                    = permissionService;
     _notificationService                  = notificationService;
     _logger = loggerFactory.CreateLogger <ManagementController>();
 }
Пример #2
0
 public ManagementModelFactory(
     IOutletManagementService outletManagementService,
     IStoreService storeService,
     IUserService userService,
     IDateTimeHelper dateTimeHelper)
 {
     _outletManagementService = outletManagementService;
     _storeService            = storeService;
     _userService             = userService;
     _dateTimeHelper          = dateTimeHelper;
 }