public ActionResult EditBlog(string id) { try { var model = new EditBlogViewModel(id); return View(model); } catch (Exception) { return Redirect("/admin/blog/manageblogs/"); } }
public ActionResult EditBlog(string id) { var model = new EditBlogViewModel(id); return View(model); }