Fixes mappings

This commit is contained in:
Shannon
2017-04-28 13:34:32 +10:00
parent 0b61685fc8
commit ec9020f63e
6 changed files with 11 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ namespace Umbraco.Web.Models.Mapping
.ForMember(x => x.Notifications, exp => exp.Ignore());
config.CreateMap<TemplateDisplay, Template>()
.ForMember(x => x.DeletedDate, exp => exp.Ignore())
.ForMember(x => x.Key, exp => exp.Ignore())
.ForMember(x => x.Path, exp => exp.Ignore())
.ForMember(x => x.CreateDate, exp => exp.Ignore())