public OrderWebClientService(IWorkContext workContext, IDiscountWebClientService discountWebClientService, ICurrentUserService currentUserService, IOrderDataService orderDataService, IUnitOfWork unitOfWork, IEmailyService emailyService, IAppUserManager userManager, IOrderItemDataService orderItemDataService) { _workContext = workContext; _discountWebClientService = discountWebClientService; _currentUserService = currentUserService; _orderDataService = orderDataService; _unitOfWork = unitOfWork; _userManager = userManager; _orderItemDataService = orderItemDataService; }
public ProductWebClientService(IProductDataService productDataService, IRestrictedItemAccessManager accessManager, IProductCategoryDataService productCategoryDataService, IWorkContext workContext, IUnitOfWork unitOfWork, IProductReviewDataService productReviewDataService, ISecurityLogger securityLogger, IOrderDataService orderDataService, ShoppingCartHelper shoppingCartHelper, IDiscountWebClientService discountWebClientService, ITagDataService tagDataService, ISettingService settingService, IIdentityManager identityManager, IEntitySchemeDataService schemeDataService) { _productDataService = productDataService; _accessManager = accessManager; _productCategoryDataService = productCategoryDataService; _workContext = workContext; _unitOfWork = unitOfWork; _productReviewDataService = productReviewDataService; _securityLogger = securityLogger; _orderDataService = orderDataService; _discountWebClientService = discountWebClientService; _tagDataService = tagDataService; _settingService = settingService; _identityManager = identityManager; _schemeDataService = schemeDataService; _currUserId = new Lazy <Guid>(_identityManager.GetCurrentIdentity().GetUserId().ToGuid); }