public ActionResult HomeBlock2EditSubmit(HomeBloks2 m) { XMLHelper.SerializaXML <HomeBloks2>(XMLPath.XMLPath_HomeBlock2, m); base.SuccessNotification("Submit successed!"); return(RedirectToAction("HomeBlock2Edit", "HomeAdmin", new { Area = "Admin" })); }
public ActionResult RenderHomeBlock2() { HomeBloks2 m = HomeBloks2.GetData(); return(PartialView("_HomeBlock2", m)); }
public ActionResult HomeBlock2Edit() { HomeBloks2 m = HomeBloks2.GetData(); return(View(m)); }