public ActionResult ClassEdit(string CourseNumber, string Subject, bool IsCommonCourse)
        {
            if (HttpContext.User.Identity.IsAuthenticated)
            {
                string fullCourseId = Helpers.BuildCourseID(CourseNumber, Subject, IsCommonCourse);
            ICourseID courseID = CourseID.FromString(fullCourseId);

                CourseMeta itemToUpdate = null;
                var hpFootnotes = string.Empty;
                string courseTitle = string.Empty;

                using (ClassScheduleDb db = new ClassScheduleDb())
                {
                    if(db.CourseMetas.Any(s => s.CourseID.Trim().ToUpper() == fullCourseId.ToUpper()))
                    {
                        //itemToUpdate = db.CourseFootnotes.Single(s => s.CourseID.Substring(0, 5).Trim().ToUpper() == subject.Trim().ToUpper() &&
                        //																				 s.CourseID.Trim().EndsWith(courseID.Number)
                        itemToUpdate = db.CourseMetas.Single(s => s.CourseID.Trim().ToUpper() == fullCourseId.ToUpper());
                    }

                    using (OdsRepository repository = new OdsRepository())
                    {
                      try
                        {
                            IList<Course> coursesEnum = repository.GetCourses(courseID);

                            foreach (Course course in coursesEnum)
                            {
                              hpFootnotes = course.Footnotes.ToArray().Mash(" ");

                // BUG: If more than one course is returned from the API, this will ignore all Titles except for the last one
                                courseTitle = course.Title;
                            }
                        }
                        catch(InvalidOperationException ex)
                        {
                            _log.Warn(m => m("Ignoring Exception while attempting to retrieve footnote and title data for CourseID '{0}'\n{1}", courseID, ex));
                        }
                    }

                  ClassFootnote localClass = new ClassFootnote();
                    localClass.CourseID = MvcApplication.SafePropertyToString(itemToUpdate, "CourseID", fullCourseId);
                    localClass.Footnote = MvcApplication.SafePropertyToString(itemToUpdate, "Footnote", string.Empty);
                    localClass.HPFootnote = hpFootnotes;
                    localClass.LastUpdated = MvcApplication.SafePropertyToString(itemToUpdate, "LastUpdated", string.Empty);
                    localClass.LastUpdatedBy = MvcApplication.SafePropertyToString(itemToUpdate, "LastUpdatedBy", string.Empty);
                    localClass.CourseTitle = courseTitle;

                    return PartialView(localClass);
                }
            }

            return PartialView();
        }