File tree 2 files changed +6
-10
lines changed
13/umbraco-cms/fundamentals/code
14/umbraco-cms/fundamentals/code
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -142,12 +142,11 @@ public static class UmbracoBuilderServiceExtensions
142
142
{
143
143
public static IUmbracoBuilder AddCustomServices (this IUmbracoBuilder builder )
144
144
{
145
- public static IUmbracoBuilder AddCustomServices (this IUmbracoBuilder builder )
146
- {
147
- builder .Services .AddScoped <ICustomNewsArticleService , CustomNewsArticleService >();
145
+
146
+ builder .Services .AddScoped <ICustomNewsArticleService , CustomNewsArticleService >();
148
147
149
- return builder ;
150
- }
148
+ return builder ;
149
+
151
150
}
152
151
}
153
152
```
Original file line number Diff line number Diff line change @@ -142,12 +142,9 @@ public static class UmbracoBuilderServiceExtensions
142
142
{
143
143
public static IUmbracoBuilder AddCustomServices (this IUmbracoBuilder builder )
144
144
{
145
- public static IUmbracoBuilder AddCustomServices (this IUmbracoBuilder builder )
146
- {
147
- builder .Services .AddScoped <ICustomNewsArticleService , CustomNewsArticleService >();
145
+ builder .Services .AddScoped <ICustomNewsArticleService , CustomNewsArticleService >();
148
146
149
- return builder ;
150
- }
147
+ return builder ;
151
148
}
152
149
}
153
150
```
You can’t perform that action at this time.
0 commit comments