private void RemoveUserFromProject(UserViewModel user)
        {
            _Service.LeaveProject(_Project.ToProjectModel(), user.ToUserModel());

            PopulateUserLists(_Project);
        }
        private void PopulatePendingList(ProjectViewModel project)
        {
            List<User> users = _Service.GetUsersPendingProjectJoin(project.ToProjectModel()).ToList();

            foreach (User user in users)
            {
                String role = ProjectRoleList.Where(p => p.Equals(_Service.GetUsersRequestedRoleForProject(user, project.ToProjectModel()))).SingleOrDefault();

                UserViewModel userVm = new UserViewModel(user);

                if (role != null)
                    userVm.RequestedProjectRole = role;

                PendingUsersList.Add(userVm);
            }
        }
        private void RejectUserFromProject(UserViewModel user)
        {
            _Service.RejectUserFromProject(user.ToUserModel(), _Project.ToProjectModel());

            PopulateUserLists(_Project);
        }
        private void AcceptUserOnProject(UserViewModel user)
        {
            _Service.AcceptUserOnProject(user.ToUserModel(), _Project.ToProjectModel(), user.RequestedProjectRole);

            PopulateUserLists(_Project);
        }