public ProductController(IProductService productService, IProductTypeService productTypeService, IProductHistoryService productHistoryService) { _productService = productService; _productTypeService = productTypeService; _productHistoryService = productHistoryService; _service = new Service(_productTypeService); }
public EmployeeController(IUserService userService, IStoreService storeService, IProfileService profileService, IRoleService roleService) { _userService = userService; _storeService = storeService; _profileService = profileService; _roleService = roleService; _service = new Service(storeService, roleService); }
public BuyController(IProductService productService, ICustomerService customerService, IProfileService profileService, IUserService userService, IInvoiceService invoiceService, ISecurityCodeService securityCodeService) { _customerService = customerService; _profileService = profileService; _invoiceService = invoiceService; _securityCodeService = securityCodeService; _service = new Service(productService); _common = new Common(userService); }