public ComponentTypeDisplay MapToBLLDisplay(DALComponentTypeFull dalComponentType) { return(new ComponentTypeDisplay { Id = dalComponentType.Id, ComponentTypeName = dalComponentType.ComponentTypeName, ComponentCount = dalComponentType.Components !.Count });
public ComponentTypeFull MapToBLLFull(DALComponentTypeFull dalComponentType) { return(new ComponentTypeFull { Id = dalComponentType.Id, ComponentTypeName = dalComponentType.ComponentTypeName, Components = dalComponentType.Components, ComponentTypeSpecifications = dalComponentType.ComponentTypeSpecifications, }); }