예제 #1
0
 public AdminController(
     SqlProduct sqlProduct,
     SqlCart sqlCart,
     SqlDiscount sqlDiscount,
     UserManager <AppUser> userManager
     )
 {
     _sqlProduct  = sqlProduct;
     _sqlCart     = sqlCart;
     _sqlDiscount = sqlDiscount;
     _userManager = userManager;
 }
예제 #2
0
 public HomeController(ILogger <HomeController> logger,
                       SqlCart sqlCart,
                       UserManager <AppUser> userManager,
                       SqlNews sqlNews,
                       SqlDiscount sqlDiscount
                       )
 {
     _logger      = logger;
     _userManager = userManager;
     _sqlNews     = sqlNews;
     _sqlDiscount = sqlDiscount;
     _sqlCart     = sqlCart;
 }