Beispiel #1
0
        public int GetIdOfTeacher(Teachers entityToGetId)
        {
            ITeachersRepository repo = new TeachersRepository(getEntities());

            Entities.Teachers entityToGetId2 = Mapper.Map <Teachers, Entities.Teachers>(entityToGetId);
            return(repo.GetTeacherId(entityToGetId2));
        }