Skip to content

Commit 3fd2e7f

Browse files
committed
add ctor without logger factory
1 parent 1c80eb7 commit 3fd2e7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/JsonApiDotNetCore/Controllers/JsonApiController.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ public JsonApiController(
1717
: base(jsonApiContext, resourceService, loggerFactory)
1818
{ }
1919

20+
public JsonApiController(
21+
IJsonApiContext jsonApiContext,
22+
IResourceService<T, int> resourceService)
23+
: base(jsonApiContext, resourceService)
24+
{ }
25+
2026
public JsonApiController(
2127
IJsonApiContext jsonApiContext,
2228
IGetAllService<T, int> getAll = null,

0 commit comments

Comments
 (0)