Exemple #1
0
        public static EngineFamily FromDtoToObject(EngineFamilyDto source)
        {
            EngineFamily target = new EngineFamily();

            target.DisplayName = source.DisplayName;
            target.Link        = source.Link;
            target.Type        = (EngineFamilyType)source.Type;
            return(target);
        }
Exemple #2
0
        public static EngineFamilyDto FromObjectToDto(EngineFamily source)
        {
            EngineFamilyDto target = new EngineFamilyDto();

            target.DisplayName = source.DisplayName;
            target.Link        = source.Link;
            target.Type        = (int)source.Type;
            return(target);
        }