public ResultInfo.Result Add(long thingID, long thingExtensionID, string newValue, string createdBy) { ResultInfo.Result result = ResultInfo.GenerateErrorResult(); try { db.ThingPropertyValueAdd(thingID, thingExtensionID, newValue); result = ResultInfo.GenerateOKResult("Saved"); } catch (Exception ex) { result = ResultInfo.GenerateErrorResult(ex.Message); } return(result); }