Skip to content

Commit 8c9a38e

Browse files
authored
Merge pull request #7043 from DJohn001/patch-1
Update umbraco-services.md
2 parents d997522 + b0bf612 commit 8c9a38e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

15/umbraco-cms/fundamentals/code/umbraco-services.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,9 @@ public static class UmbracoBuilderServiceExtensions
142142
{
143143
public static IUmbracoBuilder AddCustomServices(this IUmbracoBuilder builder)
144144
{
145-
public static IUmbracoBuilder AddCustomServices(this IUmbracoBuilder builder)
146-
{
147-
builder.Services.AddScoped<ICustomNewsArticleService, CustomNewsArticleService>();
145+
builder.Services.AddScoped<ICustomNewsArticleService, CustomNewsArticleService>();
148146

149-
return builder;
150-
}
147+
return builder;
151148
}
152149
}
153150
```

0 commit comments

Comments
 (0)