Пример #1
0
        public void AddRessource(CourseVM courseVM)
        {
            Course myCourse = new Course();

            myCourse.Title       = courseVM.Title;
            myCourse.Description = courseVM.Description;
            myCourse.StartDate   = courseVM.StartDate;
            myCourse.EndDate     = courseVM.EndDate;
            _learningrepository.Add(myCourse);
        }