コード例 #1
0
 public ProductController(
     IProductService productService,
     IDealerProductService dealerProductService)
 {
     this._productService       = productService;
     this._dealerProductService = dealerProductService;
 }
コード例 #2
0
 public SaleController(
     ICustomerService customerService,
     IDealerService dealerService,
     IDealerProductService dealerProductService,
     IDealerSaleService dealerSaleService)
 {
     this._customerService      = customerService;
     this._dealerService        = dealerService;
     this._dealerProductService = dealerProductService;
     this._dealerSaleService    = dealerSaleService;
 }
コード例 #3
0
 public SaleController(
     UserManager <AppUser> userManager,
     IProductService productService,
     IAdminSaleService adminSaleService,
     IDealerProductService dealerProductService,
     IDealerService dealerService)
 {
     this._userManager          = userManager;
     this._productService       = productService;
     this._adminSaleService     = adminSaleService;
     this._dealerProductService = dealerProductService;
     this._dealerService        = dealerService;
 }
コード例 #4
0
 public DealerController(
     UserManager <AppUser> userManager,
     SignInManager <AppUser> signInManager,
     RoleManager <AppRole> roleManager,
     IDealerService dealerService,
     IDealerProductService dealerProductService,
     IDealerSaleService dealerSaleService,
     ICustomerService customerService)
 {
     this._dealerSaleService    = dealerSaleService;
     this._userManager          = userManager;
     this._signInManager        = signInManager;
     this._roleManager          = roleManager;
     this._dealerService        = dealerService;
     this._dealerProductService = dealerProductService;
     this._customerService      = customerService;
 }