Skip to content

Commit 9590ec7

Browse files
Change UmbracoApiController to Controller
1 parent bd4ac8d commit 9590ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15/umbraco-cms/implementation/unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ See [Reference documentation on UmbracoApiControllers](../reference/routing/umbr
166166
```csharp
167167
[ApiController]
168168
[Route("/umbraco/api/products")]
169-
public class ProductsController : UmbracoApiController
169+
public class ProductsController : Controller
170170
{
171171
public IEnumerable<string> GetAllProducts()
172172
{

0 commit comments

Comments
 (0)