public BugsController(IBugRepository bugRepository, IBugPriorityRepository bugPriorityRepository, IBugStatusRepository bugStatusRepository, IProjectRepository projectRepository, IHostingEnvironment hostingEnvironment) //IHostEnvironment injected to get the physical path to the wwwroot folder { this.bugRepository = bugRepository; this.bugPriorityRepository = bugPriorityRepository; this.bugStatusRepository = bugStatusRepository; this.projectRepository = projectRepository; this.hostingEnvironment = hostingEnvironment; }
public BugPrioritiesController(IBugPriorityRepository bugPriorityRepository) { this.bugPriorityRepository = bugPriorityRepository; }