public ActionResult addsolution(JiaJiModels.solution model)
 {
     try
     {
         var i = new JiaJiBLL.Solutionbll().soladd(model);
         if (i > 0)
         {
             return(Json(new { Success = true, Message = "添加成功" }));
         }
         else
         {
             return(Json(new { Success = false, Message = "添加失败" }));
         }
     }
     catch
     {
         return(Json(new { Success = false, Message = "添加失败" }));
     }
 }
        public JsonResult editsolution(JiaJiModels.solution model)
        {
            try
            {
                int id = model.SolutionID;

                var i = new JiaJiBLL.Solutionbll().UpdSolu(model);
                if (i > 0)
                {
                    return(Json(new { Success = true, Message = "修改成功" }));
                }
                else
                {
                    return(Json(new { Success = false, Message = "修改失败" }));
                }
            }
            catch
            {
                return(Json(new { Success = false, Message = "修改失败" }));
            }
        }