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; }
public HomeController(Repository.Repository repo, ITourRepo tourRepo, IDiaDiemRepo diadiemRepo) { this.repo = repo; this.tourRepo = tourRepo; this.diadiemRepo = diadiemRepo; }
public DiadiemController(IDiaDiemRepo diaDiemRepo, ILogger <DiadiemController> logger, IChiTietRepo chiTietRepo) { this.diaDiemRepo = diaDiemRepo; _logger = logger; this.chiTietRepo = chiTietRepo; }