Ejemplo n.º 1
0
        public void Create(string name, int number, string description)
        {
            var lecture = _lectureRepository.GetLectureOrFail(name);

            lecture = new Lecture(name, number, description);
            _lectureRepository.AddLecture(lecture);
        }