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