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