public ShopController(IArticleService articleService, ICustomerService customerService, IOrderService orderService, IOrderLineService orderLineService) { _articleService = articleService; _customerService = customerService; _orderService = orderService; _orderLineService = orderLineService; }
public OrdersController(IMapper mapper, IOrderService orderService, IOrderLineService orderLineService, ISubscriptionService subscriptionService, ITicketService ticketService) { _mapper = mapper; _orderService = orderService; _oLService = orderLineService; _ticketService = ticketService; }
public OrderCreateViewModel(IProductService productService, INavigator navigator, IArticleReservationService articleReservationService, IArticleService articleService, IOrderLineService orderLineService, IOrderService orderService) { Application.Current.MainWindow.Width = 1280; Application.Current.MainWindow.Height = 720; _productService = productService; _navigator = navigator; _articleReservationService = articleReservationService; _articleService = articleService; _orderLineService = orderLineService; _orderService = orderService; if (_navigator.Data != null) { CustomerResult = (CustomerResult)_navigator.Data; } Customer = new Model.Customer { Id = CustomerResult.Id, FirstName = CustomerResult.FirstName, LastName = CustomerResult.LastName, Email = CustomerResult.Email, PhoneNumber = CustomerResult.PhoneNumber }; _ = LoadData(); InstantiateCommands(); }
public IndexModel(IConfiguration configuration, IOrderLineService orderLineService, IProductService productService, ICustomerService customerService) { this.configuration = configuration; this.orderLineService = orderLineService; this.productService = productService; this.customerService = customerService; }
/// <summary></summary> public OrderLinesController( IUnitOfWorkAsync unitOfWorkAsync, IOrderLineService service) { _unitOfWorkAsync = unitOfWorkAsync; _service = service; }
public MaintenanceController(IArticleService articleService, ICustomerService customerService, IProductService productService, IOrderService orderService, IOrderLineService orderLineService) { _articleService = articleService; _customerService = customerService; _productService = productService; _orderService = orderService; _orderLineService = orderLineService; }
public HomeController(ILogger <HomeController> logger, IArticleService articleService, ICustomerService customerService, IOrderLineService orderLineService, IOrderService orderService, IProductService productService) { _logger = logger; _articleService = articleService; _customerService = customerService; _orderLineService = orderLineService; _orderService = orderService; _productService = productService; }
public OrderLineControllerTest() { orderLineService = Mocks.MockOrderLineService.GetOrderLineService(); var logger = new Mocks.MockLogger <OrderLineController>().CreateLogger(); orderLineController = new OrderLineController(orderLineService, new Mapper(Mocks.MockProductService.GetProductService()), logger); }
public CartController(ICartService cartService, ICartSessionService sessionService, IProductService productService, UserManager <CustomIdentityUser> userManager, IOrderLineService orderLineService, IOrderService orderService) { _cartService = cartService; _sessionService = sessionService; _productService = productService; _userManager = userManager; _orderLineService = orderLineService; _orderService = orderService; }
public OrderController(IOrderService orderService, IOrderLineService orderLineService, ICartSessionService cartSessionService, ISupplementService supplementService, IHttpContextAccessor httpContextAccessor, UserManager <CustomIdentityUser> userManager, IShippingDetailService shippingDetailService) { _orderService = orderService; _orderLineService = orderLineService; _cartSessionService = cartSessionService; _supplementService = supplementService; _httpContextAccessor = httpContextAccessor; _userManager = userManager; _shippingDetailService = shippingDetailService; }
public OrderDetailViewModel(IOrderLineService orderLineService, INavigator navigator) { _orderLineService = orderLineService; _navigator = navigator; if (_navigator.Data != null) { OrderResult = (OrderResult)_navigator.Data; } _ = LoadData(); InstantiateCommands(); }
public AdminController(IExerciseService exerciseService, IExerciseTypeService exerciseTypeService, IHostingEnvironment hostingEnvironment, ISupplementCategoryService supplementCategoryService, ISupplementService supplementService, ISupplementSubCategoryService supplementSubCategoryService, ITrainerService trainerService, IBlogPostService blogPostService, UserManager <CustomIdentityUser> userManager, CustomIdentityContext customIdentityContext, IOrderLineService orderLineService) { _exerciseService = exerciseService; _exerciseTypeService = exerciseTypeService; _hostingEnvironment = hostingEnvironment; _supplementCategoryService = supplementCategoryService; _supplementService = supplementService; _supplementSubCategoryService = supplementSubCategoryService; _trainerService = trainerService; _blogPostService = blogPostService; _userManager = userManager; _customIdentityContext = customIdentityContext; _orderLineService = orderLineService; }
public ShopController(IMapper mapper, IMatchService matchService, ITeamsService teamsService, IMatchStadiumLocationService mslService , ICompetitionsService competitionsService, ILocationsService locationsService, IOrderService orderService, IOrderLineService orderLineService, ITicketService ticketService, ITeamCompetitionLocationService tclService, ISubscriptionService subscriptionService, IEmailSender emailSender) { _mapper = mapper; _matchService = matchService; _teamsService = teamsService; _mslService = mslService; _competitionsService = competitionsService; _locationsService = locationsService; _orderLineService = orderLineService; _orderService = orderService; _ticketService = ticketService; _tclService = tclService; _subscriptionService = subscriptionService; _emailSender = emailSender; }
public DetailModel(IOrderLineService orderLineService, IOrderService orderService) { this.orderLineService = orderLineService; this.orderService = orderService; }
public HomeController(IOrderHeaderService orderHeaderService, IOrderLineService orderLineService, IMapper mapper) { _orderHeaderService = orderHeaderService ?? throw new ArgumentNullException(nameof(orderHeaderService)); _orderLineService = orderLineService ?? throw new ArgumentNullException(nameof(orderLineService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public OrderLinesController(IOrderLineService orderlineService, IMapper mapper, ApplicationDbContext db) { _orderlineService = orderlineService; _mapper = mapper; _db = db; }
public OrderLineServiceTest() { context = mockFactory.InitializeContext(); orderLineService = new OrderLineService(context); orderService = new OrderService(context, orderLineService); }
public OrderService(EarlessContext context, IOrderLineService orderLineService) { this.context = context; this.orderLineService = orderLineService; }
public OrderLineController(IOrderLineService orderLineService, Mapper mapper, ILogger <OrderLineController> logger) { this.orderLineService = orderLineService; this.mapper = mapper; this.logger = logger; }
public OrderLineController(IOrderLineService orderLineService) { _orderService = orderLineService; }