Exemplo n.º 1
0
        public IActionResult Index()
        {
            VEGEFOOD_DBContext db = new VEGEFOOD_DBContext();

            ViewBag.ListDonHang     = IDonHang.GetDonhangs;
            ViewBag.ListDate        = IThongKe.GetDates();
            ViewBag.ListThongKeNgay = IThongKe.GetThongkengays;
            ViewBag.ListSanPham     = IFSanPham.GetSanPhams;
            return(View(IDonHang.GetDonhangs));
        }
Exemplo n.º 2
0
 public SanphamRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }
Exemplo n.º 3
0
 public ThongKeRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }
Exemplo n.º 4
0
 public DonhangRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }
 public NhaCungCapRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }
Exemplo n.º 6
0
 public KhachHangRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }
Exemplo n.º 7
0
 public LoaiSanPhamRepository(VEGEFOOD_DBContext _db)
 {
     db = _db;
 }