예제 #1
0
 public SampleItem Update(string id, SampleItem instance)
 {
     // TODO: Update the given instance of SampleItem in the collection
     throw new NotImplementedException();
 }
예제 #2
0
 public SampleItem Create(SampleItem instance)
 {
     // TODO: Add the new instance of SampleItem to the collection
     throw new NotImplementedException();
 }
예제 #3
0
 public SampleItem Update(string id, SampleItem instance)
 {
     // TODO: Update the given instance of SampleItem in the collection
     throw new NotImplementedException();
 }
예제 #4
0
 public SampleItem Create(SampleItem instance)
 {
     // TODO: Add the new instance of SampleItem to the collection
     throw new NotImplementedException();
 }
예제 #5
0
 public SampleItem Update(string id, SampleItem instance)
 {
     return instance;
 }
예제 #6
0
        public SampleItem Create(SampleItem instance)
        {

            instance.Id = 1;
            return instance;
        }