Пример #1
0
 public QuanlytourController(ILogger <QuanlytourController> logger, ILoaiRepo loaiRepo, IDiaDiemRepo diaDiemRepo, ITourRepo tourRepo, IChiTietRepo chiTietRepo, IGiaRepo giaRepo)
 {
     _logger          = logger;
     this.loaiRepo    = loaiRepo;
     this.diaDiemRepo = diaDiemRepo;
     this.tourRepo    = tourRepo;
     this.chiTietRepo = chiTietRepo;
     this.giaRepo     = giaRepo;
 }
Пример #2
0
 public HomeController(Repository.Repository repo, ITourRepo tourRepo, IDiaDiemRepo diadiemRepo)
 {
     this.repo        = repo;
     this.tourRepo    = tourRepo;
     this.diadiemRepo = diadiemRepo;
 }
Пример #3
0
 public DiadiemController(IDiaDiemRepo diaDiemRepo, ILogger <DiadiemController> logger, IChiTietRepo chiTietRepo)
 {
     this.diaDiemRepo = diaDiemRepo;
     _logger          = logger;
     this.chiTietRepo = chiTietRepo;
 }