예제 #1
0
 public ProductController(IProductService productService, IProductTypeService productTypeService,
     IProductHistoryService productHistoryService)
 {
     _productService = productService;
     _productTypeService = productTypeService;
     _productHistoryService = productHistoryService;
     _service = new Service(_productTypeService);
 }
예제 #2
0
 public EmployeeController(IUserService userService, IStoreService storeService, IProfileService profileService,
     IRoleService roleService)
 {
     _userService = userService;
     _storeService = storeService;
     _profileService = profileService;
     _roleService = roleService;
     _service = new Service(storeService, roleService);
 }
예제 #3
0
 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);
 }