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
Copy file name to clipboardExpand all lines: docs/ContextGraph.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,20 @@ public void ConfigureServices(IServiceCollection services)
36
36
If a DbContext is specified when adding the services, the context will be used to define the resources and their names. By default, these names will be hyphenated.
Copy file name to clipboardExpand all lines: docs/Controllers.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ currentMenu: controllers
7
7
You need to create controllers that inherit from [JsonApiController<TEntity>](https://github.com/Research-Institute/json-api-dotnet-core/blob/master/src/JsonApiDotNetCore/Controllers/JsonApiController.cs).
@@ -44,7 +42,7 @@ public class ThingsController : JsonApiController<Thing, Guid>
44
42
45
43
If you need to customize things at the controller level, you can override the virtual
46
44
methods. Please be aware that this is not the place for advanced business logic
47
-
which should be performed at the [service](resourceServices.html) or [repository](entityRepositories.html) layers. Here is an example override at the controller layer:
45
+
which should be performed at the [service](resourceservices.html) or [repository](entityrepositories.html) layers. Here is an example override at the controller layer:
Copy file name to clipboardExpand all lines: docs/EntityRepositories.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,13 @@ If you want to use EF, but need additional data access logic (such as authorizat
9
9
methods defined in [DefaultEntityRepository<TEntity, TId>](https://github.com/Research-Institute/json-api-dotnet-core/blob/master/src/JsonApiDotNetCore/Data/DefaultEntityRepository.cs).
10
10
11
11
The repository should then be
12
-
add to the service collection in `Startup.ConfigureServices` like so:
12
+
add to the service collection in `Startup.cs` like so:
0 commit comments