gets surface controllers and front-end api controllers auto-routed, adds tests

This commit is contained in:
Shannon
2021-02-02 14:48:01 +11:00
parent 2f97265bc0
commit c024db9d3c
13 changed files with 367 additions and 143 deletions

View File

@@ -1,4 +1,4 @@
using Umbraco.Core.Composing;
using Umbraco.Core.Composing;
namespace Umbraco.Web.Common.Controllers
{
@@ -7,8 +7,9 @@ namespace Umbraco.Web.Common.Controllers
/// </summary>
public abstract class UmbracoApiController : UmbracoApiControllerBase, IDiscoverable
{
// TODO: Should this only exist in the back office project? These really are only ever used for the back office AFAIK
/// <summary>
/// Initializes a new instance of the <see cref="UmbracoApiController"/> class.
/// </summary>
protected UmbracoApiController()
{
}