Example #1
0
 public async Task Delete(int id)
 {
     Collection = Collection.Where(r => r.Id != id).ToList();
     StateHasChanged();
     await ControlService.DeleteAsync(id).ConfigureAwait(false);
 }