public ActionResult Update(Habitat habitat) { repo.UpdateHabitat(habitat); return(RedirectToAction("Detail")); return(View()); }
public ActionResult Update(Habitat habitat) { repo.UpdateHabitat(habitat); return(RedirectToAction("Detail")); return(View()); }