public static externalDTO.Material MapFromDomain(internalDTO.Material material) { var res = material == null ? null : new externalDTO.Material { Id = material.Id, MaterialName = material.MaterialName.Translate() }; return(res); }
public void AddMaterial(Material material) { AddObject(Relation.VerbType.OverlapsMaterial, material); }
internal void RemoveMaterial(Material material) { RemoveObject(Relation.VerbType.MadeOf, material); }
internal void AddMaterial(Material material) { AddObject(Relation.VerbType.MadeOf, material); }