public JsonResult addAddSuccessinfo(JiaJiModels.Anli infor, int TeamID)
 {
     try
     {
         var i = new JiaJiBLL.Anlibll().Anliadd(infor, TeamID);
         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 editAddSuccessinfo(JiaJiModels.Anli model, int TeamID)
 {
     try
     {
         int id = model.SRelationID;
         var i  = new JiaJiBLL.Anlibll().UpdateAnLi(model, TeamID);
         if (i > 0)
         {
             return(Json(new { Success = true, Message = "修改成功" }));
         }
         else
         {
             return(Json(new { Success = false, Message = "修改失败" }));
         }
     }
     catch
     {
         return(Json(new { Success = false, Message = "修改失败" }));
     }
 }