public async Task UpdateAsync(PinEntity entity) { await Client.PutAsync(entity, "Self", entity).ConfigureAwait(false); }
public async Task RemoveAsync(PinEntity entity) { await Client.DeleteAsync(entity, "Self", entity).ConfigureAwait(false); }
public async Task <PinEntity> AddAsync(PinEntity entity) { return(await Client.PostAsync <PinEntity, PinEntity>(entity, "Create", entity).ConfigureAwait(false)); }
public async Task<PinEntity> AddAsync(PinEntity entity) { return await Client.PostAsync<PinEntity, PinEntity>(entity, "Create", entity).ConfigureAwait(false); }