public static async Task<IEnumerable<Course>> GetAllCourses(SectionService ss)
        {
            try
            {
                //Get all courses
                var result = await ss.GetAllCourses();

                //cache each course by id
                foreach (var c in result)
                {
                    HttpContext.Current.Cache.Insert(c.id, c);
                }

                return result;
            }
            catch (Exception e)
            {
                ExceptionHelper.LogCaughtException(e);
                return new List<Course>();
            }           
        }