Пример #1
0
 public async Task<HttpResponseMessage> Update(Staff obj)
 {
     var response = await _client.PutData(Constants.Staff.ALL + obj.id, obj);
     return response;
 }
 public async Task<HttpResponseMessage> Update(Staff obj)
 {
     throw new NotImplementedException("Updating Staff is not allowed");
 }
Пример #3
0
 public async Task<HttpResponseMessage> Create(Staff obj)
 {
     var response = await _client.PostData(Constants.Staff.ALL, obj);
     return response;
 }