Пример #1
0
        public static BLL.App.DTO.Skill MapFromDAL(DAL.App.DTO.Skill skill)
        {
            var res = skill == null ? null : new BLL.App.DTO.Skill
            {
                Id          = skill.Id,
                SkillName   = skill.SkillName,
                Description = skill.Description,
            };

            return(res);
        }
Пример #2
0
        public static Domain.Skill MapFromDAL(DAL.App.DTO.Skill skill)
        {
            var res = skill == null ? null : new Domain.Skill
            {
                Id          = skill.Id,
                SkillName   = new Domain.MultiLangString(skill.SkillName),
                Description = new Domain.MultiLangString(skill.Description),
            };


            return(res);
        }