public ActionResult AddResource(wl _objAdd) { var addResource = _wlrepository.Add(_objAdd); return Redirect("/wl/getwlpage/" + _objAdd.HighId + "#LinkAdded"); }
public ActionResult AddHeader(wl _objAdd) { var addHeader = _wlRepo.AddHeader(_objAdd); return Redirect("/wl/getwlpage/" + _objAdd.HighId + "#HeaderAdded"); }
public ActionResult UpdateResource(wl _objUpdate) { var updateLibResource = _wlrepository.Edit(_objUpdate); return Redirect("/wl/getwlpage/" + _objUpdate.HighId + "#ResourceUpdated"); }
public ActionResult UpdateHeader(wl _objUpdate) { var updateHeader = _wlRepo.EditHeader(_objUpdate); return Redirect("/wl/getwlpage/" + _objUpdate.HighId + "#HeaderUpdated"); }
public ActionResult EditTitle(wl _objEdit) { var editTitle = _wlRepo.EditPageTitle(_objEdit); return Redirect("/wl/getwlpage/" + _objEdit.HighId + "#PageTitleUpdated"); }
public ActionResult DeleteWlPage(wl _objDelete) { var deleteWlPage = _wlRepo.DeleteWlPage(_objDelete); return Redirect("/wl/admin/#PageDeleted"); }