Ejemplo n.º 1
0
 public string PostWithCompositeType(ExampleCompositeType testInfo)
 {
     if (testInfo == null)
     {
         return(String.Empty);
     }
     return(String.Format("Property one is boolean: {0}" + Environment.NewLine + "Property two is string: {1}",
                          testInfo.Property1, testInfo.Property2));
 }
Ejemplo n.º 2
0
 public ExampleCompositeType PostWithComposites(ExampleCompositeType testInfo)
 {
     return(testInfo);
 }
 public string PostWithCompositeType(ExampleCompositeType testInfo)
 {
     if (testInfo == null) return String.Empty;
     return String.Format("Property one is boolean: {0}" + Environment.NewLine + "Property two is string: {1}",
                          testInfo.Property1, testInfo.Property2);
 }
 public ExampleCompositeType PostWithComposites(ExampleCompositeType testInfo)
 {
     return testInfo;
 }