public IActionResult EditName(int id, ScientificName scientific) { if (id != scientific.Id) { return(ViewBag.Message = "Invalid Id"); } _db.EditName(scientific); return(RedirectToAction(nameof(GetScientificNames))); }