public ProjectManagerController(IProjectmanagerRepo projectmanagerRepo,
                                 IHostingEnvironment iHostingEnvironment,
                                 IProjectUsersRepo projectUsersRepo,
                                 UserManager <ApplicationUsers> userManager)
 {
     _projectmanagerRepo  = projectmanagerRepo;
     _iHostingEnvironment = iHostingEnvironment;
     _projectUsersRepo    = projectUsersRepo;
     _userManager         = userManager;
 }
 public ProjectController(UserManager <ApplicationUsers> userManager,
                          IProjectUsersRepo projectUsersRepo,
                          IProjectmanagerRepo projectmanagerRepo, ITaskRepo taskRepo, ICommentRepo commentRepo)
 {
     _userManager        = userManager;
     _projectUsersRepo   = projectUsersRepo;
     _projectmanagerRepo = projectmanagerRepo;
     _taskRepo           = taskRepo;
     _commentRepo        = commentRepo;
 }