Пример #1
0
        public JsonResult UpdateFormula(string cowGroupID, string formulaID)
        {
            CowGroupBLL cBLL   = new CowGroupBLL();
            int         gID    = Int32.Parse(cowGroupID);
            int         fID    = Int32.Parse(formulaID);
            int         i2     = cBLL.UpdateCowGroupFormula(gID, fID);
            var         result = new { Count = i2 };

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