// C o n s t r u c t o r s public EfTrailRepository(AppDbContext context, IPeakRepository peakRepository) { _context = context; _peakRepository = peakRepository; }
// C o n s t r u c t o r s public HomeController(IPeakRepository repository, IUserRepository userRepository) { _repository = repository; // userRepository.Login(new Models.User { Email = "*****@*****.**", Password = "******" }); }
// C o n s t r u c t o r public TrailController(ITrailRepository repository, IPeakRepository peakRepository) { _repository = repository; _peakRepository = peakRepository; }
// C o n s t r u c t o r s public PeakController(IPeakRepository repository, IUserRepository userRepository) { _repository = repository; _userRepository = userRepository; }