public ActionResult Edit(NewsTypeModel model, string cdts) { GetConditions(cdts); model.Update(); return View("AdminIndex"); }
public ActionResult Create(NewsTypeModel model, string cdts) { GetConditions(cdts); model.Insert(); return View("AdminIndex"); }