//private readonly ProjectContext _context;
 public HomeController(ILogger <HomeController> logger, IMappedLocation locationRepo, IMappedMovie movieRepo)
 {
     this._logger       = logger;
     this._locationRepo = locationRepo;
     this._movieRepo    = movieRepo;
 }
Esempio n. 2
0
 public LocationsController(IMappedLocation locationRepo, IMappedMovie movieRepo)
 {
     this._locationRepo = locationRepo;
     this._movieRepo    = movieRepo;
 }
Esempio n. 3
0
 public MoviesController(IMappedMovie repo, IWebHostEnvironment environment, IMappedLocation locationRepo)
 {
     this._repo         = repo;
     this._environment  = environment;
     this._locationRepo = locationRepo;
 }