We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdebb81 commit c079e0dCopy full SHA for c079e0d
src/Examples/ReportsExample/Controllers/ReportsController.cs
@@ -9,7 +9,7 @@
9
namespace ReportsExample.Controllers
10
{
11
[Route("api/[controller]")]
12
- public class ReportsController : BaseJsonApiController<Report, int>
+ public class ReportsController : BaseJsonApiController<Report>
13
14
public ReportsController(
15
IJsonApiOptions jsonApiOptions,
src/Examples/ReportsExample/Startup.cs
@@ -17,7 +17,9 @@ public void ConfigureServices(IServiceCollection services)
17
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
18
public void Configure(IApplicationBuilder app)
19
20
+ app.UseRouting();
21
app.UseJsonApi();
22
+ app.UseEndpoints(endpoints => endpoints.MapControllers());
23
}
24
25
0 commit comments