You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The controller **MUST** implement `IJsonApiController`, and it **MAY** inherit from [JsonApiController](https://github.com/Research-Institute/json-api-dotnet-core/blob/master/JsonApiDotNetCore/Controllers/JsonApiController.cs).
98
+
- The controller **MUST** implement `IJsonApiController`
99
+
- Controllers **MAY** inherit from [JsonApiController](https://github.com/Research-Institute/json-api-dotnet-core/blob/master/JsonApiDotNetCore/Controllers/JsonApiController.cs).
100
+
98
101
Constructor dependency injection will work like normal.
99
-
Any services added in your `Startup.ConfigureServices()` method will be injected into the constructor parameters.
102
+
Any services in your `Startup.ConfigureServices()` method will be injected into the constructor parameters.
100
103
101
104
```
102
105
public class TodoItemsController : JsonApiController, IJsonApiController
0 commit comments