// GET: SubCategory/Edit/5 public ActionResult EditState(int id) { State s = serviceState.GetById(id); return(View(s)); }