示例#1
0
 public IActionResult Save(dynamic dy)
 {
     if (api.Save(dy))
     {
         return(Ok(Res.Success("操作成功!")));
     }
     else
     {
         return(Ok(Res.Fail("操作失败!")));
     }
 }
示例#2
0
 /// <summary>
 /// 保存数据信息
 /// </summary>
 /// <param name="dy"></param>
 /// <returns></returns>
 public bool Save(dynamic dy)
 {
     return(api.Save(dy));
 }