// GET: Student/Details/5 public ActionResult Details(string id) { //var person = db.Find(new Student { RowGuid = id }); //return View(person); var category = CategoryBusiness.Find_Id(id); return(View(category)); }
// GET: Student/Delete/5 public ActionResult Delete(string id) { //var lista = CategoryBusiness.GetCategoryList(); //Student category = lista.Find(x => x.Id == id); var category = CategoryBusiness.Find_Id(id); return(View(category)); //return View(category); }
public ActionResult Edit(string id) { var category = CategoryBusiness.Find_Id(id); return(View(category)); }