public LeisureActivity ToDomain(LeisureActivityEntity entity) { LeisureActivity domain = new LeisureActivity { }; _itemMapper.ToDomain(entity, domain); return(domain); }
public Principle ToDomain(PrincipleEntity entity) { Principle domain = new Principle { }; _itemMapper.ToDomain(entity, domain); return(domain); }
public void ToDomain(ITaskEntity entity, ITask domain) { _itemMapper.ToDomain(entity, domain); domain.RelativeSize = entity.RelativeSize; }