string temp, log;//, _username, _chinhanh, _tour, _kyhieu = "",_maviettat = "";
 public HuyhoadonController(IHuyhdvatRepository huyhdvatRepository, IDsdangkyhdRepository dsdangkyhdRepository,
                            IDmtkRepository dmtkRepository, IHoadonRepository hoadonRepository, IHuycthdvatRepository huycthdvatRepository,
                            INguonhdRepository nguonhdRepository)
 {
     _huyhdvatRepository   = huyhdvatRepository;
     _huycthdvatRepository = huycthdvatRepository;
     _dsdangkyhdRepository = dsdangkyhdRepository;
     _dmtkRepository       = dmtkRepository;
     _hoadonRepository     = hoadonRepository;
     _nguonhdRepository    = nguonhdRepository;
 }
 public HuycthdvatController(IHuycthdvatRepository huycthdvatRepository, IDmtkRepository dmtkRepository,
                             IHuyhdvatRepository huyhdvatRepository, IDmhttcRepository dmhttcRepository,
                             IHoadonRepository hoadonRepository, ICthdvatRepository cthdvatRepository)
 {
     _huycthdvatRepository = huycthdvatRepository;
     _dmtkRepository       = dmtkRepository;
     _huyhdvatRepository   = huyhdvatRepository;
     _dmhttcRepository     = dmhttcRepository;
     _hoadonRepository     = hoadonRepository;
     _cthdvatRepository    = cthdvatRepository;
     _username             = "******";
 }
 public InvoiceController(IHoadonRepository hoadonRepository, ICthdvatRepository cthdvatRepository,
                          ISupplierRepository supplierRepository, IDsdangkyhdRepository dsdangkyhdRepository,
                          IHuyhdvatRepository huyhdvatRepository, IHuycthdvatRepository huycthdvatRepository, IUserRepository userRepository)
 {
     _hoadonRepository     = hoadonRepository;
     _cthdvatRepository    = cthdvatRepository;
     _supplierRepository   = supplierRepository;
     _dsdangkyhdRepository = dsdangkyhdRepository;
     _huyhdvatRepository   = huyhdvatRepository;
     _huycthdvatRepository = huycthdvatRepository;
     _userRepository       = userRepository;
 }