Ejemplo n.º 1
0
 public SaleController(
     ICustomerService customerService,
     IDealerService dealerService,
     IDealerProductService dealerProductService,
     IDealerSaleService dealerSaleService)
 {
     this._customerService      = customerService;
     this._dealerService        = dealerService;
     this._dealerProductService = dealerProductService;
     this._dealerSaleService    = dealerSaleService;
 }
Ejemplo n.º 2
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;
 }