Example #1
0
        public int AddCourseSubtopic(CourseSubtopic subtopicToAdd)
        {
            subtopicToAdd.Description = subtopicToAdd.Description ?? "";
            subtopicToAdd.IsActive    = true;
            subtopicToAdd.CreatedOn   = DateTime.Now;

            return(LearningPathDataAccessor.AddCourseSubtopic(subtopicToAdd));
        }