public virtual TeacherXTeacherSkill MapBOToEF(
            BOTeacherXTeacherSkill bo)
        {
            TeacherXTeacherSkill efTeacherXTeacherSkill = new TeacherXTeacherSkill();

            efTeacherXTeacherSkill.SetProperties(
                bo.Id,
                bo.TeacherId,
                bo.TeacherSkillId);
            return(efTeacherXTeacherSkill);
        }
        public void MapEFToBO()
        {
            var mapper = new DALTeacherXTeacherSkillMapper();
            TeacherXTeacherSkill entity = new TeacherXTeacherSkill();

            entity.SetProperties(1, 1, 1);

            BOTeacherXTeacherSkill response = mapper.MapEFToBO(entity);

            response.Id.Should().Be(1);
            response.TeacherId.Should().Be(1);
            response.TeacherSkillId.Should().Be(1);
        }
        public void MapEFToBOList()
        {
            var mapper = new DALTeacherXTeacherSkillMapper();
            TeacherXTeacherSkill entity = new TeacherXTeacherSkill();

            entity.SetProperties(1, 1, 1);

            List <BOTeacherXTeacherSkill> response = mapper.MapEFToBO(new List <TeacherXTeacherSkill>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }