public HomeController(comdatabaseContext context) { db = context; }
public SanphamHotLoader(comdatabaseContext context) { _context = context; }
public AuthenticationController(comdatabaseContext context) { _context = context; }
public HoaDonController(comdatabaseContext context) { _context = context; }
public CartLoader(comdatabaseContext context) { _context = context; }
public KhachhangsController(comdatabaseContext context) { _context = context; }
public CartController(comdatabaseContext context) { _context = context; //cart = new ShoppingCart(this.HttpContext, _context); }
//private readonly IHostingEnvironment _environment; public UploadimageController(comdatabaseContext context)//,IHostingEnvironment IHostingEnvironment) { db = context; //_environment = IHostingEnvironment; }
public ChitiethdsController(comdatabaseContext context) { _context = context; }
public DanhmucsController(comdatabaseContext context) { _context = context; }
public LoginController(comdatabaseContext context) { _context = context; }
// private List<Sanpham> spLst=null; public SanphamsController(comdatabaseContext context) { _context = context; }
public DanhMucloader(comdatabaseContext context) { _context = context; }