public ActionResult Create(CreateCourseScoViewModel form, HttpPostedFileBase file)
        {
            var filePackage = FileServices.Upload_Backup_and_then_ExtractZip(file, Server, AppConstants.ScoDirectory);
            if (!ModelState.IsValid  || filePackage == null) return View(form);

            var sco = new Sco
            {
                Title = filePackage.Name,
                Directory = filePackage.Directory
            };
            _context.Scos.Add(sco);
            _context.SaveChanges();


            //Add the sco to the new CourseSco and save
            var courseSco = new CourseSco
            {
                Title = sco.Title,
                CourseTemplateId = form.CourseId,
                CatalogueNumber = form.CatalogueNumber,
                RequiredScoId = form.RequiredScoId,
                ScoId = sco.Id
            };
            _context.CourseScos.Add(courseSco);
            _context.SaveChanges();
            return RedirectToAction("Index", new { id = form.CourseId });
        }
        public async Task<ActionResult> Associate(CreateCourseScoViewModel form)
        {
            if (ModelState.IsValid)
            {
                var sco = _context.Scos.Find(form.ScoId);
                var scoTitle = sco.Title;

                var courseSco = new CourseSco
                {
                    Title = scoTitle,
                    CourseTemplateId = form.CourseId,
                    ScoId = form.ScoId,
                    CatalogueNumber = form.CatalogueNumber,
                    RequiredScoId = form.RequiredScoId
                };
                _context.CourseScos.Add(courseSco);
                await _context.SaveChangesAsync();
                return RedirectToAction("Index", new { id = form.CourseId });
            }

            ViewBag.ScoId = new SelectList(_context.Scos, "Id", "Title", form.ScoId);
            return View(form);
        }