public IActionResult AddItem([Bind("LogGroupingId,BlogPostId," + "GroupedItemComment,ItemCreateDate")] GroupedItem groupedItem) { if (ModelState.IsValid) { _context.Add(groupedItem); //wait scaffoled controllers Add to the table,not the dB _context.SaveChanges(); return(RedirectToAction(nameof(MyPersonalLog))); //so now we tell the app where to return to! } return(View(groupedItem)); }