public UnitOfWork(DbBanHang _context, ISanPham SanPhams, ITheLoaiSP TheLoais, INhaSanXuat NSX) { this._context = _context; this.SanPhams = SanPhams; this.TheLoais = TheLoais; this.NSX = NSX; }
public TheLoai(DbBanHang context) : base(context) { }
public TheLoaiSPRepository(DbBanHang context) : base(context) { }
public GenericRepository(DbBanHang context) { _context = context; }
public SanPhamRepository(DbBanHang context) : base(context) { }
public NhaSanXuatRepository(DbBanHang context) : base(context) { }