We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a23354 commit b32f3d8Copy full SHA for b32f3d8
1 file changed
src/extensions/BootstrapBlazor.DataAccess.EntityFrameworkCore/DefaultDataService.cs
@@ -65,7 +65,7 @@ public Task EditAsync(object model)
65
if (existingEntity != null)
66
{
67
_db.Entry(existingEntity).State = EntityState.Detached;
68
- }
+ }
69
}
70
return Task.CompletedTask;
71
@@ -134,7 +134,7 @@ public override Task<QueryData<TModel>> QueryAsync(QueryPageOptions option)
134
var ret = new QueryData<TModel>()
135
136
TotalCount = count,
137
- Items = items,
+ Items = items.ToList(),
138
IsSorted = option.SortOrder != SortOrder.Unset,
139
IsFiltered = option.Filters.Count > 0,
140
IsAdvanceSearch = option.AdvanceSearches.Count > 0,
0 commit comments