File tree 1 file changed +8
-4
lines changed
src/JsonApiDotNetCore/Controllers
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,22 @@ public class JsonApiQueryController<T>
12
12
public JsonApiQueryController (
13
13
IJsonApiOptions jsonApiOptions ,
14
14
IResourceService < T , int > resourceService )
15
- : base ( jsonApiOptions , resourceService )
16
- { }
15
+ : base ( jsonApiOptions , resourceService ) { }
17
16
}
18
17
19
18
public class JsonApiQueryController < T , TId >
20
19
: BaseJsonApiController < T , TId > where T : class , IIdentifiable < TId >
21
20
{
21
+ public JsonApiQueryController (
22
+ IJsonApiOptions jsonApiContext ,
23
+ IResourceQueryService < T , TId > resourceQueryService )
24
+ : base ( jsonApiContext , resourceQueryService ) { }
25
+
26
+
22
27
public JsonApiQueryController (
23
28
IJsonApiOptions jsonApiOptions ,
24
29
IResourceService < T , TId > resourceService )
25
- : base ( jsonApiOptions , resourceService )
26
- { }
30
+ : base ( jsonApiOptions , resourceService ) { }
27
31
28
32
[ HttpGet ]
29
33
public override async Task < IActionResult > GetAsync ( ) => await base . GetAsync ( ) ;
You can’t perform that action at this time.
0 commit comments