コード例 #1
0
 public CheckoutController(IFSanpham _IFSanpham, IFDonHang _IFDonhang, IKhachHang _IKhachHang, IConfiguration _Iconfiguration, IDonHang _IDonhang) : base(_IFSanpham, _IFDonhang)
 {
     _KhachHang = _IKhachHang;
     //_Donhang = _IFDonhang;
     _configuration = _Iconfiguration;
     _DonhangAdmin  = _IDonhang;
     AuthyAPIKey    = _configuration["API:AuthyAPIKey"];
 }
コード例 #2
0
ファイル: UnitOfWork.cs プロジェクト: giangcoder9/Api
 public UnitOfWork(IKhachHang KH, IPhongTro PT, IDichVu dv, IChiTietThietBi ct, IThuePhong tp, IHoaDon hd, IDienNuoc dn, IThietBi tb)
 {
     KhachHang = KH;
     PhongTro  = PT;
     DichVu    = dv;
     ChiTiet   = ct;
     ThuePhong = tp;
     HoaDon    = hd;
     DienNuoc  = dn;
     ThietBi   = tb;
 }
コード例 #3
0
 public KhachHangController(IKhachHang _IKhachHang, IDonHang _IDonHang)
 {
     IKhachHang = _IKhachHang;
     IDonHang   = _IDonHang;
 }
コード例 #4
0
 public DonHangController(IDonHang _IDonHang, IFSanpham _IFSanPham, IKhachHang _IKhachHang)
 {
     IDonHang   = _IDonHang;
     IFSanPham  = _IFSanPham;
     IKhachHang = _IKhachHang;
 }