public MyAccountViewModelBuilder(string userEmail, ICustomerAccountService customerAccountService, IOrderRepository orderRepository, IMappingEngine mapper)
 {
     this.userEmail = userEmail;
     this.customerAccountService = customerAccountService;
     this.orderRepository = orderRepository;
     this.mapper = mapper;
 }
 public MyAccountViewModelBuilder(string userEmail, ICustomerAccountService customerAccountService, IOrderRepository orderRepository, IMappingEngine mapper)
 {
     this.userEmail = userEmail;
     this.customerAccountService = customerAccountService;
     this.orderRepository        = orderRepository;
     this.mapper = mapper;
 }
 public BillingViewModelBuilder(CheckoutDetailsModel checkoutDetailsModel, IAuthentication authentication,ICustomerAccountService accountService, IMappingEngine mapper)
 {
     this.checkoutDetailsModel = checkoutDetailsModel;
     this.authentication = authentication;
     this.accountService = accountService;
     this.mapper = mapper;
 }
 public BillingViewModelBuilder(CheckoutDetailsModel checkoutDetailsModel, IAuthentication authentication, ICustomerAccountService accountService, IMappingEngine mapper)
 {
     this.checkoutDetailsModel = checkoutDetailsModel;
     this.authentication       = authentication;
     this.accountService       = accountService;
     this.mapper = mapper;
 }
        //
        // GET: /MyAccount/

        public MyAccountController(IAuthentication authentication, ICustomerAccountService customerAccountService, IUserMailer mailer, IMappingEngine mapper, IOrderRepository orderReporistory)
        {
            this.authentication         = authentication;
            this.customerAccountService = customerAccountService;
            this.mailer           = mailer;
            this.mapper           = mapper;
            this.orderReporistory = orderReporistory;
        }
 //
 // GET: /MyAccount/
 public MyAccountController(IAuthentication authentication, ICustomerAccountService customerAccountService, IUserMailer mailer, IMappingEngine mapper, IOrderRepository orderReporistory)
 {
     this.authentication = authentication;
     this.customerAccountService = customerAccountService;
     this.mailer = mailer;
     this.mapper = mapper;
     this.orderReporistory = orderReporistory;
 }
 public CustomerAccountController(
     ICustomerAccountService accountService,
     ICommentService commentService,
     IOrganizationAccountManager accountManager,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _commentService = commentService;
     _accountService = accountService;
     _accountManager = accountManager;
 }
 public AccountController(
     ICommentService commentService,
     ICustomerAccountService accountService,
     IProviderAgencyOwner agencyOwner,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _commentService = commentService;
     _agencyOwner    = agencyOwner;
     _accountService = accountService;
 }
 public TestablePresenter
 (
     [ComponentDependency("QueueEntry")] QueueEntry queueEntry,
     [ServiceDependency] ICustomerAccountService accountService,
     [ServiceDependency] ICustomerAlertService alertService,
     [ServiceDependency] ICustomerQueueService queueService
 )
     : base(queueEntry, accountService, alertService, queueService)
 {
 }
 public TestablePresenter
 (
     [ComponentDependency("QueueEntry")] QueueEntry queueEntry,
     [ServiceDependency] IQuoteService quoteService,
     [ServiceDependency] ICustomerAccountService customerAccountsService,
     [ServiceDependency] IAccountService accountService
 )
     : base(queueEntry, quoteService, customerAccountsService, accountService)
 {
 }
Exemple #11
0
        private MyAccountController CreateDefaultMyAccountControllerWithCustomCustomerAccountService(
            ICustomerAccountService customerAccountService)
        {
            var authentication  = MockRepository.GenerateStub <IAuthentication>();
            var userMailer      = MockRepository.GenerateStub <IUserMailer>();
            var orderRepository = MockRepository.GenerateStub <IOrderRepository>();

            var controller = new MyAccountController(authentication, customerAccountService, userMailer, mapper, orderRepository);

            return(controller);
        }
 //
 // GET: /Checkout/
 public CheckoutController(IShoppingCartWrapper shoppingCartWrapper, ShoppingCartItemsFactory cartItemsFactory, IJewelRepository jewelRepository, IDiamondRepository diamondRepository, IOrderRepository orderRepository, IMappingEngine mapper, IUserMailer mailer, IAuthentication authentication,ICustomerAccountService accountService)
 {
     this.shoppingCartWrapper = shoppingCartWrapper;
     this.cartItemsFactory = cartItemsFactory;
     this.jewelRepository = jewelRepository;
     this.diamondRepository = diamondRepository;
     this.orderRepository = orderRepository;
     this.mapper = mapper;
     this.mailer = mailer;
     this.authentication = authentication;
     this.accountService = accountService;
 }
Exemple #13
0
        //
        // GET: /Checkout/

        public CheckoutController(IShoppingCartWrapper shoppingCartWrapper, ShoppingCartItemsFactory cartItemsFactory, IJewelRepository jewelRepository, IDiamondRepository diamondRepository, IOrderRepository orderRepository, IMappingEngine mapper, IUserMailer mailer, IAuthentication authentication, ICustomerAccountService accountService)
        {
            this.shoppingCartWrapper = shoppingCartWrapper;
            this.cartItemsFactory    = cartItemsFactory;
            this.jewelRepository     = jewelRepository;
            this.diamondRepository   = diamondRepository;
            this.orderRepository     = orderRepository;
            this.mapper         = mapper;
            this.mailer         = mailer;
            this.authentication = authentication;
            this.accountService = accountService;
        }
Exemple #14
0
 public PurchaseCDViewPresenter
 (
     [ComponentDependency("QueueEntry")] QueueEntry queueEntry,
     [ServiceDependency] IQuoteService quoteService,
     [ServiceDependency] ICustomerAccountService customerAccountsService,
     [ServiceDependency] IAccountService accountService
 )
 {
     _queueEntry              = queueEntry;
     _quoteService            = quoteService;
     _customerAccountsService = customerAccountsService;
     _accountService          = accountService;
 }
 public CustomerAccountController(ICustomerAccountService accountService,
                                  IOrganizationCustomer customer,
                                  IWorkOrderService workOrderService,
                                  ICommentService commentService,
                                  IStripeService stripeService,
                                  IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _customer         = customer;
     _workOrderService = workOrderService;
     _commentService   = commentService;
     _stripeService    = stripeService;
     _accountService   = accountService;
 }
 public CustomerSummaryViewPresenter
 (
     [ComponentDependency("QueueEntry")] QueueEntry queueEntry,
     [ServiceDependency] ICustomerAccountService accountService,
     [ServiceDependency] ICustomerAlertService alertService,
     [ServiceDependency] ICustomerQueueService queueService
 )
 {
     _queueEntry     = queueEntry;
     _accountService = accountService;
     _alertService   = alertService;
     _queueService   = queueService;
 }
Exemple #17
0
        public ProjectService(IServiceProvider serviceProvider,
                              ICustomerAccountService accountService,
                              IUserInfo userInfo,
                              ILogger <ProjectService> logger,
                              MultiProjectEventHandler events,
                              IOrganizationProjectManagerService pmService) : base(serviceProvider)
        {
            _accountService = accountService;
            _userInfo       = userInfo;
            _logger         = logger;
            _pmService      = pmService;

            AddEventHandler(events);
        }
Exemple #18
0
 public PortalController(IPersonService personService,
                         UserManager <ApplicationUser> userManager,
                         IOptions <AppSettings> settings,
                         ICustomerAccountService customerAccountService,
                         IOrganizationService organizationService,
                         ICustomerService customerService)
 {
     _personService          = personService;
     _userManager            = userManager;
     _settings               = settings;
     _customerAccountService = customerAccountService;
     _organizationService    = organizationService;
     _customerService        = customerService;
 }
 public OrganizationController(IPersonService personService,
                               IHostingEnvironment hostingEnvironment,
                               ICustomerAccountService customerAccountService,
                               IOrganizationCustomerService organizationCustomerService,
                               UserManager <ApplicationUser> userManager,
                               IOrganizationService service,
                               ICustomerService customerService, IOptions <AppSettings> settings)
 {
     _service                     = service;
     _customerService             = customerService;
     _settings                    = settings;
     _hostingEnvironment          = hostingEnvironment;
     _customerAccountService      = customerAccountService;
     _organizationCustomerService = organizationCustomerService;
     _personService               = personService;
     _userManager                 = userManager;
 }
Exemple #20
0
        public LeadService(IServiceProvider unitOfWork,
                           Lazy <IUserInfo> userInfo,
                           ICustomerAccountService accountService,
                           ILogger <LeadService> logger,
                           IIndividualBonusIntentService individualBonusIntents,
                           IOrganizationBonusIntentService organizationBonusIntents,
                           MultiLeadEventHandler multiHandler,
                           IOrganizationMarketerService marketerService) : base(unitOfWork)
        {
            _userInfo                 = userInfo;
            _accountService           = accountService;
            _logger                   = logger;
            _individualBonusIntents   = individualBonusIntents;
            _organizationBonusIntents = organizationBonusIntents;
            _marketerService          = marketerService;
            _marketingAgreements      = UnitOfWork.RepositoryAsync <MarketingAgreement>();
            _customers                = UnitOfWork.RepositoryAsync <Customer>();
            _applicationUsers         = UnitOfWork.RepositoryAsync <ApplicationUser>();
            _organizations            = UnitOfWork.RepositoryAsync <Organization>();

            AddEventHandler(multiHandler);
        }
 public CustomerAccountController(ICustomerAccountService customerAccountService)
 {
     this.customerAccountService = customerAccountService;
 }
        private MyAccountController CreateDefaultMyAccountControllerWithCustomerUserMailerAndCustomCustomerAccountService(IUserMailer userMailer,ICustomerAccountService customerAccountService)
        {
            var authentication = MockRepository.GenerateStub<IAuthentication>();
            var orderRepository = MockRepository.GenerateStub<IOrderRepository>();

            var controller = new MyAccountController(authentication, customerAccountService, userMailer, mapper, orderRepository);
            return controller;
        }
 public CartController(IItemQueryService itemQueryService, ICartService cartService, ICustomerAccountService customerAccountService)
 {
     _itemQueryService       = itemQueryService;
     _cartService            = cartService;
     _customerAccountService = customerAccountService;
 }
 public CustomerAccountController(ICustomerAccountService customerAccount, ILoggerManager logger)
 {
     _customerAccountService = customerAccount;
     _loggerManager          = logger;
 }
Exemple #25
0
 public CustomerMembershipRule(ICustomerAccountService customerAccountService)
 {
     _customerAccountService = customerAccountService;
 }
 public OrderHistoryController(ICustomerAccountService customerAccountService, IOrderRatingService orderRatingService, IOrderService orderService)
 {
     _customerAccountService = customerAccountService;
     _orderRatingService     = orderRatingService;
     _orderService           = orderService;
 }
Exemple #27
0
 public CustomerController(ICustomerAccountService customerAccountService)
 {
     _customerAccountService = customerAccountService;
 }
 public PaymentServiceController(ICustomerAccountService customerAccountService, ICustomerPaymentService customerPaymentService)
 {
     _customerAccountService = customerAccountService;
     _customerPaymentService = customerPaymentService;
 }
 public ActivateMembershipBusinessRule(ICustomerAccountService customerAccountService)
 {
     _customerAccountService = customerAccountService;
 }