public async Task <IActionResult> Create([Bind("Id,LastName,FirstName,Occupation,Gender,PictureUrl,Votes")] People people) { if (ModelState.IsValid) { _context.Add(people); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(people)); }