Skip to content

Commit 0264ea8

Browse files
committed
docs(readme): document new controller constructor
1 parent e6ba54f commit 0264ea8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ public class ThingsController : JsonApiController<Thing>
180180
{
181181
public ThingsController(
182182
IJsonApiContext jsonApiContext,
183-
IEntityRepository<Thing> entityRepository,
183+
IResourceService<Thing> resourceService,
184184
ILoggerFactory loggerFactory)
185-
: base(jsonApiContext, entityRepository, loggerFactory)
185+
: base(jsonApiContext, resourceService, loggerFactory)
186186
{ }
187187
}
188188
```
@@ -199,9 +199,9 @@ public class ThingsController : JsonApiController<Thing, Guid>
199199
{
200200
public ThingsController(
201201
IJsonApiContext jsonApiContext,
202-
IEntityRepository<Thing, Guid> entityRepository,
202+
IResourceService<Thing, Guid> resourceService,
203203
ILoggerFactory loggerFactory)
204-
: base(jsonApiContext, entityRepository, loggerFactory)
204+
: base(jsonApiContext, resourceService, loggerFactory)
205205
{ }
206206
}
207207
```

0 commit comments

Comments
 (0)