예제 #1
0
        public static void deleteCourseFromCourseCollection(Course course)
        {
            var database = new SqliteDataService();

            database.Initialize();
            database.DeleteCourse(course);
            Courses.Remove(course);
            database.Close();
        }