public async Task <ActionResult> EditDepartment(int id)
        {
            var de = await InstitutionManager.FindDepartmentByIdAsync(id);

            if (de == null)
            {
                return(HttpNotFound());
            }
            ViewBag.InMajors = await InstitutionManager.GetMajorsForDepartmentAsync(de);

            ViewBag.OutMajors = await InstitutionManager.GeNoDepartmentMajorsAsync(de);

            var model = new DepartmentEditViewModel {
                Id = de.Id, Name = de.Name
            };

            return(View(model));
        }