WIP - moving tree and section service implementations to Web because they are web based and they need web based objects, there's no sense in coying all of the non-web objects to Core. Now we need to use IoC for the ServiceContext

This commit is contained in:
Shannon
2016-02-17 16:45:26 +01:00
parent 6e7f3b5500
commit 4fa1ce42dc
17 changed files with 920 additions and 851 deletions

View File

@@ -9,6 +9,7 @@ using Umbraco.Web.Trees;
using Umbraco.Web.WebApi;
using umbraco;
using umbraco.interfaces;
using Umbraco.Web.Models.Trees;
namespace Umbraco.Web
{
@@ -28,7 +29,7 @@ namespace Umbraco.Web
return resolver.ResolveTypesWithAttribute<TreeController, TreeAttribute>();
}
internal static IEnumerable<Type> ResolveSurfaceControllers(this PluginManager resolver)
internal static IEnumerable<Type> ResolveSurfaceControllers(this PluginManager resolver)
{
return resolver.ResolveTypes<SurfaceController>();
}