public ActionResult AssignUsersToProject(int projectId)
        {
            ViewBag.projectId = projectId;
            var userId = User.Identity.GetUserId();
            var AssignedUsersToProject = projectLogic.getAllAssignedusersToProject(projectId);

            List <ApplicationUser> users = new List <ApplicationUser>();

            if (AdminLogic.CheckIfUserIsInRole(userId, "Admin"))
            {
                users = AdminLogic.GetAllDevelopersAndManagers();
                return(View(users));
            }
            else

            if (AdminLogic.CheckIfUserIsInRole(userId, "Manager"))
            {
                users = AdminLogic.GetAllDevelopers();
            }

            return(View(users));
        }