Пример #1
0
 public ActionResult RemoveBookmark(string id, int type)
 {
     try
     {
         Bookmark.DeleteBookmark((Bookmark.ItemTypes)type, id, this.User.Identity.Name);
         return(Json("0", JsonRequestBehavior.AllowGet));
     }
     catch (Exception e)
     {
         HlidacStatu.Util.Consts.Logger.Error("Manage.RemoveBookmark", e);
         return(Json("-1", JsonRequestBehavior.AllowGet));
     }
 }