Beispiel #1
0
 public AdminController(ICategoryService categoryService,
                        IAdminService adminService,
                        IUserService userService,
                        IProductService productService,
                        ICupponService cuppon,
                        IOffertService offertService,
                        ISaleService saleService)
 {
     _categoryService = categoryService;
     _service         = adminService;
     _userService     = userService;
     _productService  = productService;
     _offertService   = offertService;
     _cupponService   = cuppon;
     _saleService     = saleService;
 }
Beispiel #2
0
 public CupponController(ICupponService service, ICommon common)
 {
     _service = service;
     _common  = common;
 }