示例#1
0
 public async Task RemoveAsync(SettingEntity entity)
 {
     await Client.DeleteAsync(entity, "Self", entity).ConfigureAwait(false);
 }
示例#2
0
 public async Task UpdateAsync(SettingEntity entity)
 {
     await Client.PutAsync(entity, "Self", entity).ConfigureAwait(false);
 }
示例#3
0
 public async Task<SettingEntity> AddAsync(SettingEntity entity)
 {
     return await Client.PostAsync<SettingEntity, SettingEntity>(entity, "Create", entity).ConfigureAwait(false);
 }