Refactor and fix tests

This commit is contained in:
Stephan
2017-09-20 20:06:46 +02:00
parent bcf3916e54
commit dca3b74542
61 changed files with 924 additions and 719 deletions

View File

@@ -0,0 +1,19 @@
using AutoMapper;
using Umbraco.Core.Models;
using Relation = Umbraco.Web.Models.ContentEditing.Relation;
using RelationType = Umbraco.Web.Models.ContentEditing.RelationType;
namespace Umbraco.Web.Models.Mapping
{
internal class RelationMapperProfile : Profile
{
public RelationMapperProfile()
{
//FROM IRelationType TO RelationType
CreateMap<IRelationType, RelationType>();
//FROM IRelation TO Relation
CreateMap<IRelation, Relation>();
}
}
}