Introduced interface on UmbracoContext

This commit is contained in:
Bjarke Berg
2020-02-09 18:53:37 +01:00
parent 99e011dc01
commit c335a8dbb5
66 changed files with 252 additions and 121 deletions

View File

@@ -27,7 +27,7 @@ namespace Umbraco.Web.Mvc
/// <summary>
/// Gets the Umbraco context.
/// </summary>
public virtual UmbracoContext UmbracoContext => UmbracoContextAccessor.UmbracoContext;
public virtual IUmbracoContext UmbracoContext => UmbracoContextAccessor.UmbracoContext;
/// <summary>
/// Gets the database context accessor.