Esempio n. 1
0
 public List <SampleItem> Create(SampleItem instance)
 {
     // TODO: Add the new instance of SampleItem to the collection
     return(new List <SampleItem>()
     {
         new SampleItem()
         {
             Id = 1, StringValue = "Hello"
         }
     });
 }
Esempio n. 2
0
 public SampleItem Update(string id, SampleItem instance)
 {
     // TODO: Update the given instance of SampleItem in the collection
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public List<SampleItem> Create(SampleItem instance)
 {
     // TODO: Add the new instance of SampleItem to the collection
     return new List<SampleItem>() { new SampleItem() { Id = 1, StringValue = "Hello" } };
 }
Esempio n. 4
0
 public SampleItem Update(string id, SampleItem instance)
 {
     // TODO: Update the given instance of SampleItem in the collection
     throw new NotImplementedException();
 }