Exemple #1
0
 public Basic.Framework.Web.BasicResponse <Sys.Safety.DataContract.MetadataInfo> UpdateMetadata(Sys.Safety.Request.Metadata.MetadataUpdateRequest metadatarequest)
 {
     return(_service.UpdateMetadata(metadatarequest));
 }
Exemple #2
0
        public Basic.Framework.Web.BasicResponse <DataContract.MetadataInfo> UpdateMetadata(Sys.Safety.Request.Metadata.MetadataUpdateRequest metadatarequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Metadata/UpdateMetadata?token=" + Token, JSONHelper.ToJSONString(metadatarequest));

            return(JSONHelper.ParseJSONString <BasicResponse <MetadataInfo> >(responseStr));
        }