/// <summary>
 /// ctor
 /// </summary>
 /// <param name="userFeedbackLogic"></param>
 /// <param name="profileLogic"></param>
 /// <param name="divisionLogic"></param>
 /// <param name="notificationHandlerFactory"></param>
 /// <param name="logRepo"></param>
 public UserFeedbackController(
     IUserFeedbackLogic userFeedbackLogic,
     IUserProfileLogic profileLogic,
     IDivisionLogic divisionLogic,
     Func <NotificationType, INotificationHandler> notificationHandlerFactory,
     IEventLogRepository logRepo
     ) : base(profileLogic)
 {
     _userFeedbackLogic   = userFeedbackLogic;
     _profileLogic        = profileLogic;
     _divisionLogic       = divisionLogic;
     _notificationHandler = notificationHandlerFactory(NotificationType.UserFeedback);
     _log = logRepo;
 }
Example #2
0
 public SiteCatalogLogicImpl(ICatalogRepository catalogRepository, IPriceLogic priceLogic, IProductImageRepository imgRepository, ICategoryImageRepository categoryImageRepository,
                             ICacheRepository catalogCacheRepository, IDivisionLogic divisionLogic, IOrderHistoryHeaderRepsitory orderHistoryHeaderRepo,
                             IOrderHistoryDetailRepository orderHistoryDetailRepo, IExportSettingLogic externalCatalogRepository, IFavoritesListLogic favoriteLogic,
                             IHistoryLogic historyLogic)
 {
     _catalogCacheRepository    = catalogCacheRepository;
     _catalogRepository         = catalogRepository;
     _categoryImageRepository   = categoryImageRepository;
     _divisionLogic             = divisionLogic;
     _externalCatalogRepository = externalCatalogRepository;
     _favoriteLogic             = favoriteLogic;
     _historyLogic    = historyLogic;
     _imgRepository   = imgRepository;
     _orderDetailRepo = orderHistoryDetailRepo;
     _orderHeaderRepo = orderHistoryHeaderRepo;
     _priceLogic      = priceLogic;
 }