public ActionResult RemoveMiscSortValue(DepartmentMiscSortItem entity)
        {
            int deptId = entity.DepartmentId;

            ScheduleManager manager = new ScheduleManager();

            if (manager.RemoveMiscSortCodeEntry(entity.MiscSortId))
            {
                return RedirectToAction("EditDepartment", new { id = deptId });
            }
            else
            {
                return View("RemoveMiscSortValue", entity);
            }
        }