Is there any other way for databinding using datasource in blazor. I am using IDatalayer and Datalayer and DataAccessLayer for populating data.
Here Is my code which cannot read data due to null value in sql table.
//To Get all Categories details
public DbSet<AssetCategory> GetAllAssetCategories()
{
try
{
return db.AssetCategory;
}
catch
{
throw;
}
}