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