/// <summary>
 ///     Map method
 /// </summary>
 /// <param name="courseView">courseView instance</param>
 /// <returns>Course instance (for BLL)</returns>
 public static Course Map(this CourseView courseView)
 {
     var resultCourse = courseView.MapFlat();
     resultCourse.Theme = courseView.Theme.Map();
     resultCourse.Students = courseView.Students.Select(x => x.MapFlat()).ToList();
     resultCourse.Teacher = courseView.teacher.MapFlat();
     return resultCourse;
 }