Hi everyone,
I wrote more functions in the API but LOG always reported a syntax error
Config in DefaultODataModelProvider
builder.EntitySet<WalletHistory>("WalletHistories");
BuildWalletHistories(builder);
private static void BuildWalletHistories(ODataModelBuilder builder)
{
var set = builder.EntitySet<WalletHistory>("WalletHistories");
var config = set.EntityType.Collection;
var search = config.Action(nameof(WalletHistoriesController.Search))
.ReturnsFromEntitySet(set);
search.Parameter<string>("accessToken").Required();
search.Parameter<int>("i").Optional();
search.Parameter<int>("s").Optional();
search.Parameter<int>("page").Optional();
}
Please support.
Thanks