public LoaiHangsController(QuanLyBanHangSieuThiMediaMartContext context) { _context = context; }
public HangHoasController(QuanLyBanHangSieuThiMediaMartContext context) { _context = context; service = new ProductService(); }
public KhachHangsController(QuanLyBanHangSieuThiMediaMartContext context) { _context = context; service = new KhachHangService(_context); }
public DonDatHangsController() { _context = new QuanLyBanHangSieuThiMediaMartContext(); service = new DonDatHangService(_context); }
public DonDatHangService(QuanLyBanHangSieuThiMediaMartContext context) { this._context = context; service = new ProductService(); }
public KhachHangService(QuanLyBanHangSieuThiMediaMartContext context) { this._context = context; }