Exemple #1
0
 public NotificationController(Core.IWorkContext workContext, IRateSrevice _rateRepository,
                               INotificationService _notificationsService,
                               IBlackListService _blackListService, IPostService _postService, ICustomerService _customerContext)
 {
     this._workContext          = workContext;
     this._notificationsService = _notificationsService;
     this._rateRepository       = _rateRepository;
     this._customerContext      = _customerContext;
     this._postService          = _postService;
     this._blackListService     = _blackListService;
 }
 public FollowController(Core.IWorkContext workContext,
                         IRateSrevice _rateRepository, ICategoryService _categoryRepository, IFollowService _followRepository,
                         IBlackListService _blackListService, IPostService _postService, ICustomerService _customerContext)
 {
     this._workContext        = workContext;
     this._categoryRepository = _categoryRepository;
     this._rateRepository     = _rateRepository;
     this._customerContext    = _customerContext;
     this._postService        = _postService;
     this._followRepository   = _followRepository;
     this._blackListService   = _blackListService;
 }
        public PaymentController(Core.IWorkContext workContext, IRateSrevice _rateRepository, ISettingService settingService,
                                 IPaymentService _paymentService,
                                 IBlackListService _blackListService, IPostService _postService, ICustomerService _customerContext)
        {
            settingService         = settingService;
            this._paymentService   = _paymentService;
            this._workContext      = workContext;
            this._rateRepository   = _rateRepository;
            this._customerContext  = _customerContext;
            this._postService      = _postService;
            this._blackListService = _blackListService;

            Settings = settingService.GetSettings();
        }
Exemple #4
0
 public UserController(Core.IWorkContext workContext, IRateSrevice _rateRepository, IFollowService _followRepository, IPaymentService _paymentRepository,
                       IBlackListService _blackListService, ICustomerServicesService _customerServiceContext, IPostService _postService, ICustomerService _customerContext, ISettingService _settingRepository, INotificationService _notificationService)
 {
     this._notificationService    = _notificationService;
     this._paymentRepository      = _paymentRepository;
     this._settingRepository      = _settingRepository;
     this._followRepository       = _followRepository;
     this._workContext            = workContext;
     this._rateRepository         = _rateRepository;
     this._customerContext        = _customerContext;
     this._postService            = _postService;
     this._blackListService       = _blackListService;
     this._customerServiceContext = _customerServiceContext;
     Settings     = _settingRepository.GetSettings();
     PagingParams = new PagingParams();
 }