Fixed up small findings in refiew..

- Uses ILogger<T> instead of ILoggerFactory
- Uses the GetControllerName extension
- Fixes views
This commit is contained in:
Bjarke Berg
2021-02-17 12:00:57 +01:00
parent b0150dc8a3
commit 2ba3eb436c
7 changed files with 13 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
@ using Umbraco.Core
@inherits UmbracoViewPage<dynamic>
@using Umbraco.Core
@inherits Umbraco.Web.Common.Views.UmbracoViewPage<dynamic>
@{
string embedValue = Convert.ToString(Model.value);

View File

@@ -1,4 +1,4 @@
@inherits UmbracoViewPage<dynamic>
@inherits Umbraco.Web.Common.Views.UmbracoViewPage<dynamic>
@if (Model.value != null)
{