Skip to content

Commit 071ce9f

Browse files
authored
Merge pull request #481 from diegobrum/patch-1
Update controllers.md
2 parents b25ea1b + aae9e06 commit 071ce9f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/usage/extensibility/controllers.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ If your model is using a type other than int for the primary key, you must expli
2020

2121
```c#
2222
public class ArticlesController : JsonApiController<Article, Guid>
23-
//---------------------- ^^^^
23+
//---------------------------------------------------------- ^^^^
2424
{
2525
public ArticlesController(
2626
IJsonApiContext jsonApiContext,
2727
IResourceService<Article, Guid> resourceService,
28-
//--------------------- ^^^^
29-
28+
//----------------------- ^^^^
3029
ILoggerFactory loggerFactory)
3130
: base(jsonApiContext, resourceService, loggerFactory)
3231
{ }
@@ -105,4 +104,4 @@ public class ReportsController : BaseJsonApiController<Report>
105104
public override async Task<IActionResult> GetAsync()
106105
=> await base.GetAsync();
107106
}
108-
```
107+
```

0 commit comments

Comments
 (0)