Exemplo n.º 1
0
        public MessageService(
            IDallasArtContext dallasArtContext,
            ICustomerRoleService customerRoleService,
            IStoreContext storeContext,
            IMessageTokenProvider messageTokenProvider,
            ILanguageService languageService,
            EmailAccountSettings emailAccountSettings,
            IEmailAccountService emailAccountService,
            IMessageTemplateService messageTemplateService,
            IEventPublisher eventPublisher,
            ICustomerService customerService,
            //           IEnrollmentRequestService enrollmentRequestService,
            IWorkContext workContext,
            //           ICustomerAttributeService customerAttributeService,
            ILogger logger

            )
        {
            this._dallasArtContext       = dallasArtContext;
            this._messageTokenProvider   = messageTokenProvider;
            this._languageService        = languageService;
            this._emailAccountSettings   = emailAccountSettings;
            this._emailAccountService    = emailAccountService;
            this._messageTemplateService = messageTemplateService;
            this._eventPublisher         = eventPublisher;
            this._customerService        = customerService;
            //   this._enrollmentRequestService = enrollmentRequestService;
            this._store               = storeContext.CurrentStore;
            this._workContext         = workContext;
            this._customerRoleService = customerRoleService;
            //           this._customerAttributeService = customerAttributeService;
            this._logger = logger;
        }
Exemplo n.º 2
0
 public CustomerService(IRepositoryContext context, ICustomerRepository customerRepository
                        , ICustomerRoleRepository customerRoleRepository
                        , IReservationRepository reservationRepository
                        , ICustomerRoleService customerRoleService) : base(context)
 {
     this.customerRepository     = customerRepository;
     this.customerRoleRepository = customerRoleRepository;
     this.reservationRepository  = reservationRepository;
     this.customerRoleService    = customerRoleService;
 }
Exemplo n.º 3
0
 public CustomerController(ICustomerService customerService, ICustomerRoleService roleService)
 {
     this._customerService = customerService;
     this._roleService     = roleService;
 }
Exemplo n.º 4
0
 public CustomerController(ICustomerService customerService, ICustomerRoleService customerRoleService, DapperRepositoryConfig config)
 {
     _customerService     = customerService;
     _customerRoleService = customerRoleService;
     _config = config;
 }
Exemplo n.º 5
0
 public CustomerController(ICustomerService customerService, ICustomerRoleService customerRoleService)
 {
     _customerService     = customerService;
     _customerRoleService = customerRoleService;
 }
Exemplo n.º 6
0
 public RoleManagerController(ICustomerRoleService customerRoleService, IMapper mapper)
 {
     this.customerRoleService = customerRoleService;
     this.mapper = mapper;
 }