public ActionResult Edit(Faculty faculty)
        {
            if (ModelState.IsValid)
            {
                repository.Edit(faculty);

                TempData["message"] = "Факультет успешно редактирован";

                return(RedirectToAction("Index"));
            }
            return(View(faculty));
        }