public ActionResult Edit(Content model) { if (ModelState.IsValid) { } SetViewBag(model.CategoryID); return View(); }
public ActionResult Create(Content model) { if(ModelState.IsValid) { } SetViewBag(); return View(); }