public ActionResult Delete(int id) { var Read = ReadService.GetModels(p => p.id == id).FirstOrDefault(); if (ReadService.Delete(Read)) { return(Redirect("Read")); } else { return(Content("no")); } }