Exemplo n.º 1
0
        public void Create(MentorViewModel mentor)
        {
            if (mentor == null)
            {
                throw new Exception("mentor not found");
            }

            _mentorRepository.Create(mentor.ToDomain());
        }