Exemple #1
0
        public static externalDTO.Skill MapFromBLL(internalDTO.Skill skill)
        {
            var res = skill == null ? null : new externalDTO.Skill
            {
                Id          = skill.Id,
                SkillName   = skill.SkillName,
                Description = skill.Description,
            };

            return(res);
        }
Exemple #2
0
        public static DAL.App.DTO.Skill MapFromBLL(BLL.App.DTO.Skill skill)
        {
            var res = skill == null ? null : new DAL.App.DTO.Skill
            {
                Id          = skill.Id,
                SkillName   = skill.SkillName,
                Description = skill.Description,
            };

            return(res);
        }