diff --git a/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs b/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
index 34031a5dba..32d09e9a5c 100644
--- a/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
+++ b/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
@@ -319,7 +319,7 @@ namespace Umbraco.Web.BackOffice.Controllers
///
///
///
- public EntityBasic GetByQuery(string query, int nodeContextId, UmbracoEntityTypes type)
+ public ActionResult GetByQuery(string query, int nodeContextId, UmbracoEntityTypes type)
{
// TODO: Rename this!!! It's misleading, it should be GetByXPath
@@ -390,9 +390,9 @@ namespace Umbraco.Web.BackOffice.Controllers
///
///
[DetermineAmbiguousActionByPassingParameters]
- public EntityBasic GetById(int id, UmbracoEntityTypes type)
+ public ActionResult GetById(int id, UmbracoEntityTypes type)
{
- return GetResultForId(id, type).Value;
+ return GetResultForId(id, type);
}
///
@@ -402,9 +402,9 @@ namespace Umbraco.Web.BackOffice.Controllers
///
///
[DetermineAmbiguousActionByPassingParameters]
- public EntityBasic GetById(Guid id, UmbracoEntityTypes type)
+ public ActionResult GetById(Guid id, UmbracoEntityTypes type)
{
- return GetResultForKey(id, type).Value;
+ return GetResultForKey(id, type);
}
///