コード例 #1
0
 public ResultInfo.Result Edit(long valueID, string newValue, string createdBy)
 {
     ResultInfo.Result result = ResultInfo.GenerateErrorResult();
     try
     {
         db.ThingPropertyValueEdit(valueID, newValue);
         result = ResultInfo.GenerateOKResult("Saved");
     }
     catch (Exception ex)
     {
         result = ResultInfo.GenerateErrorResult(ex.Message);
     }
     return(result);
 }