public ActionResult Edit(LinksModel model, string cdts) { GetConditions(cdts); model.Update(); return RedirectToAction("AdminIndex", new { Page = model.Page, Cdts = cdts }); }
public ActionResult Create(LinksModel model, string cdts) { GetConditions(cdts); model.Insert(); return View("AdminIndex"); }