Beispiel #1
0
        public virtual JsonResult CreateEditHotKey(RecentKeyWord key)
        {
            OperationStatus res;

            if (key.Id == 0)
            {
                res = _tagBusiness.CreateHotKey(key);
            }
            else
            {
                res = _tagBusiness.UpdateHotKey(key);
            }

            return(Json(res, JsonRequestBehavior.AllowGet));
        }