private static OIGE_GoodsIssues SyncUpload(OIGE_GoodsIssues good) { var result = WebApiClient.AddGoodIssue(good).Result; good.UpdateModelPropertiesFrom(result.Model); good.StateL = LocalStatus.Procesado; result.UpdateEntityVersion(); GoodIssuesHelper.SaveTransaction(good); return(good); }