Esempio n. 1
0
        public ActionResult AddResource(wl _objAdd)
        {
            var addResource = _wlrepository.Add(_objAdd);

            return Redirect("/wl/getwlpage/" + _objAdd.HighId + "#LinkAdded");
        }
Esempio n. 2
0
 public ActionResult AddHeader(wl _objAdd)
 {
     var addHeader = _wlRepo.AddHeader(_objAdd);
     return Redirect("/wl/getwlpage/" + _objAdd.HighId + "#HeaderAdded");
 }
Esempio n. 3
0
        public ActionResult UpdateResource(wl _objUpdate)
        {
            var updateLibResource = _wlrepository.Edit(_objUpdate);

            return Redirect("/wl/getwlpage/" + _objUpdate.HighId + "#ResourceUpdated");
        }
Esempio n. 4
0
        public ActionResult UpdateHeader(wl _objUpdate)
        {
            var updateHeader = _wlRepo.EditHeader(_objUpdate);

            return Redirect("/wl/getwlpage/" + _objUpdate.HighId + "#HeaderUpdated");
        }
Esempio n. 5
0
 public ActionResult EditTitle(wl _objEdit)
 {
     var editTitle = _wlRepo.EditPageTitle(_objEdit);
     return Redirect("/wl/getwlpage/" + _objEdit.HighId + "#PageTitleUpdated");
 }
Esempio n. 6
0
 public ActionResult DeleteWlPage(wl _objDelete)
 {
     var deleteWlPage = _wlRepo.DeleteWlPage(_objDelete);
     return Redirect("/wl/admin/#PageDeleted");
 }