Various corrections to mappers

This commit is contained in:
Stephan
2019-03-28 12:38:04 +01:00
parent 47cb03bb38
commit f8f1fea407
29 changed files with 226 additions and 69 deletions

View File

@@ -15,7 +15,7 @@ namespace Umbraco.Web.Models.Mapping
_textService = textService;
}
public void SetMaps(Mapper mapper)
public void DefineMaps(Mapper mapper)
{
mapper.Define<ISection, Section>((source, context) => new Section(), Map);