예제 #1
0
 public async Task UpdateAsync(PinEntity entity)
 {
     await Client.PutAsync(entity, "Self", entity).ConfigureAwait(false);
 }
예제 #2
0
 public async Task RemoveAsync(PinEntity entity)
 {
     await Client.DeleteAsync(entity, "Self", entity).ConfigureAwait(false);
 }
예제 #3
0
 public async Task <PinEntity> AddAsync(PinEntity entity)
 {
     return(await Client.PostAsync <PinEntity, PinEntity>(entity, "Create", entity).ConfigureAwait(false));
 }
예제 #4
0
 public async Task UpdateAsync(PinEntity entity)
 {
     await Client.PutAsync(entity, "Self", entity).ConfigureAwait(false);
 }
예제 #5
0
 public async Task RemoveAsync(PinEntity entity)
 {
     await Client.DeleteAsync(entity, "Self", entity).ConfigureAwait(false);
 }
예제 #6
0
 public async Task<PinEntity> AddAsync(PinEntity entity)
 {
     return await Client.PostAsync<PinEntity, PinEntity>(entity, "Create", entity).ConfigureAwait(false);
 }