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;
 }
Пример #2
0
 public BugPrioritiesController(IBugPriorityRepository bugPriorityRepository)
 {
     this.bugPriorityRepository = bugPriorityRepository;
 }