//Choose a person and role to assign to the project
        public IActionResult SelectPerson(string Id)
        {
            var names = _people.ReadAll()
                        .Select(s => new PersonNameVM
            {
                Id   = s.Id,
                Name = s.LastName + ", " + s.FirstName
            }).ToList();

            var roles = _roles.ReadAll()
                        .Select(r => new RoleNameVM
            {
                Id   = r.Id,
                Name = r.Name
            }).ToList();

            var model = new SelectPersonVM
            {
                ProjectId   = Id,
                PersonNames = names,
                RoleNames   = roles
            };

            return(View(model));
        }
        public IActionResult SelectPerson(int projectId)
        {
            var names = _people.ReadAll()
                        .Select(p => new PersonNameVM
            {
                Id   = p.Id,
                Name = p.FirstName + " " + p.LastName
            });
            var model = new SelectPersonVM
            {
                ProjectId = projectId, PersonNames = names
            };

            return(View(model));
        }