public ActionResult View(int id) { var model = new CategoriesViewViewModel { Category = _session.Get<Category>(id) }; return View(model); }
public ActionResult View(int id) { var model = new CategoriesViewViewModel { Category = _session.Get <Category>(id) }; return(View(model)); }