Пример #1
0
        public void DeleteProfile(int developerId)
        {
            var skills = skillRepository.GetByDeveloperId(developerId);

            skillRepository.DeleteList(skills);
            developerRepository.DeleteList(skills.Select(s => s.Developer).ToList());
            stackRepository.DeleteList(skills.Select(s => s.Stack).ToList());
            technologyRepository.DeleteList(skills.Select(s => s.Technology).ToList());
        }