Exemplo n.º 1
0
 public ProductController(ShoppyDbContext db, IWebHostEnvironment webHostEnvironment)
 {
     _db = db;
     _webHostEnvironment = webHostEnvironment;
 }
Exemplo n.º 2
0
 public CartController(ShoppyDbContext db, IWebHostEnvironment webHostEnvironment, IEmailSender emailSender)
 {
     _db = db;
     _webHostEnvironment = webHostEnvironment;
     _emailSender        = emailSender;
 }
 public ApplicationTypeController(ShoppyDbContext db)
 {
     _db = db;
 }
Exemplo n.º 4
0
 public HomeController(ILogger <HomeController> logger, ShoppyDbContext db)
 {
     _db     = db;
     _logger = logger;
 }
Exemplo n.º 5
0
 public CategoryController(ShoppyDbContext db)
 {
     _db = db;
 }