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"]; }
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; }
public KhachHangController(IKhachHang _IKhachHang, IDonHang _IDonHang) { IKhachHang = _IKhachHang; IDonHang = _IDonHang; }
public DonHangController(IDonHang _IDonHang, IFSanpham _IFSanPham, IKhachHang _IKhachHang) { IDonHang = _IDonHang; IFSanPham = _IFSanPham; IKhachHang = _IKhachHang; }