Exemple #1
0
        public void RemoveTeacher(Teachers entityToRemove)
        {
            ITeachersRepository repo = new TeachersRepository(getEntities());

            Entities.Teachers entityToRemove2 = Mapper.Map <Teachers, Entities.Teachers>(entityToRemove);
            repo.Remove(entityToRemove2);
        }