You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For performance and throughput purposes, I'd like to handle RetrieveData/WithRetrieveDataMethod using async operations. Is there a way to accomplish this?
Something like:
MVCGridDefinitionTable.Add("MyGrid", new MVCGridBuilder<MyViewModel>()
.AddColumns(...)
.WithRetrieveDataMethodAsync(async (context) =>
{
IMyDataRepo dataRepo = IoC.Resolve<IMyDataRepo>();
List<MyViewModel> data = await dataRepo.GetData(...);
return new QueryResult<MyViewModel>() { Items = data, Total = total };
});
The text was updated successfully, but these errors were encountered:
For performance and throughput purposes, I'd like to handle RetrieveData/WithRetrieveDataMethod using async operations. Is there a way to accomplish this?
Something like:
The text was updated successfully, but these errors were encountered: