We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the README.MD is this example
[HttpGet(Name="GetAllModelsRoute")] public async Task<IEnumerable<MyModel>> GetAllModels() { //... snip .. // }
But how would you implement the AddLinksAsync part?
AddLinksAsync
As far as I can see ILinksService doesn't accept an IEnumerable<MyModel> as parameter for AddLinksAsync...
ILinksService
IEnumerable<MyModel>
Something like this would be nice:
[HttpGet(Name="GetAllModelsRoute")] public async Task<IEnumerable<MyModel>> GetAllModels() { var all = await _dbContext.Models.ToListAsync(); await linksService.AddLinksAsync(all); return all; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the README.MD is this example
But how would you implement the
AddLinksAsync
part?As far as I can see
ILinksService
doesn't accept anIEnumerable<MyModel>
as parameter forAddLinksAsync
...Something like this would be nice:
The text was updated successfully, but these errors were encountered: