public ActionResult Delete(int id) { var CategoryProcess = new Process.CategoryProcess(); var categoria = CategoryProcess.SelectOne(id); return(View(categoria)); }
// GET Edit/{id} public ActionResult Edit(int id) { var categoryprocess = new Process.CategoryProcess(); var cat = categoryprocess.SelectOne(id); return(View(cat)); }
public ActionResult Details(int id) { var category = new Category(); var CategoryProcess = new Process.CategoryProcess(); category = CategoryProcess.SelectOne(id); return(View(category)); }