i am working on blazor webassembly client side i am trying to export the grid to excel
i am trying this code
public void Export(string type)
{
service.Export("IdleReport", type, new Query() { OrderBy = grid.Query.OrderBy, Filter = grid.Query.Filter });
} in razor page
and
public void Export(string table, string type, Query query = null)
{
navigationManager.NavigateTo(query != null ? query.ToUrl($"{table}/{type}") : $"{table}/{type}", true);
} it is in sevice
and i am using the EportExcelController but it is not working