Exemple #1
0
 public ThongKeController(IThongKe _IThongKe, IDonHang _IDonHang, IFSanpham _IFSanPham, IConfiguration configuration)
 {
     IThongKe      = _IThongKe;
     IDonHang      = _IDonHang;
     IFSanPham     = _IFSanPham;
     Configuration = configuration;
 }
 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 ChaController(IFSanpham _IFSanpham, IFDonHang _IFDonhang)
 {
     _Sanpham = _IFSanpham;
     _Donhang = _IFDonhang;
 }
Exemple #4
0
 public ShopController(IFSanpham _IFSanpham, IFDonHang _IFDonhang) : base(_IFSanpham, _IFDonhang)
 {
 }
Exemple #5
0
 public DonHangController(IDonHang _IDonHang, IFSanpham _IFSanPham, IKhachHang _IKhachHang)
 {
     IDonHang   = _IDonHang;
     IFSanPham  = _IFSanPham;
     IKhachHang = _IKhachHang;
 }
 public SanPhamController(IFSanpham _IFSanpham, INhaCungCap _INhaCungCap, ILoaiSanPham _ILoaiSanPham)
 {
     IFSanpham    = _IFSanpham;
     INhaCungCap  = _INhaCungCap;
     ILoaiSanPham = _ILoaiSanPham;
 }