Skip to content

Commit c0feb2b

Browse files
committed
Update wording around the APIController in db article
1 parent 25f36c7 commit c0feb2b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

15/umbraco-cms/extending/database.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,16 +245,12 @@ Figuring out how to manage data across multiple environments can be different be
245245

246246
To create, read, update or delete data from your custom database tables, you can use the `IScopeProvider` to get access to the database operations.
247247

248-
The following example creates an `UmbracoApiController` to be able to fetch and insert blog comments.
248+
The following example creates a `Controller` that uses `[Route]` annotations to create API endpoints for fetching and inserting blog comments.
249249

250250
{% hint style="info" %}
251251
This example does not use the aforementioned `BlogCommentSchema` class but rather a separate (yet duplicate) class that is not part of the example. Also, be aware that things like error handling and data validation have been omitted for brevity.
252252
{% endhint %}
253253

254-
{% hint style="warning" %}
255-
The example below uses UmbracoApiController which is obsolete in Umbraco 14 and will be removed in Umbraco 15.
256-
{% endhint %}
257-
258254
```csharp
259255
using Microsoft.AspNetCore.Mvc;
260256
using System.Collections.Generic;

0 commit comments

Comments
 (0)