public IActionResult Delete(int id)
        {
            List <Museums> museums = museumRepository.GetMuseumsByType(id);
            int            n       = museums.Count();

            if (n == 0)
            {
                museumtypeRepository.DeleteMuseumType(id);
                museumtypeRepository.Save();
            }

            return(RedirectToAction("Index"));
        }