Beispiel #1
0
 public ProductController(ProductService productService, ConfigrationService configrationService,
                          CategoryService categoryService, ProductSearchViewModel productSearchViewModel,
                          ProductSearchViewModel model, NewProductViewModel newModel,
                          EditProductViewModel editModel)
 {
     _productService      = productService;
     _categoryService     = categoryService;
     _configrationService = configrationService;
     _newModel            = newModel;
     _editModel           = editModel;
     _model = model;
 }
 public ShopController(ProductService productService, ConfigrationService configrationService,
                       CategoryService categoryService, ShopViewModel model, FilterProductsViewModel filterModel,
                       CheckoutViewModel checkoutViewModel, JsonResult result, ShopService shopService)
 {
     _productService      = productService;
     _configrationService = configrationService;
     _categoryService     = categoryService;
     _model             = model;
     _filterModel       = filterModel;
     _shopService       = shopService;
     _checkoutViewModel = checkoutViewModel;
     _result            = result;
 }