public IActionResult DeleteSportsHall(int SportsHallID)
        {
            SportsHall deletedSportsHall = repository.DeleteSportsHall(SportsHallID);

            if (deletedSportsHall != null)
            {
                //TempData["message"] = $"{deletedSportsHall.SportsHallID} was deleted";
            }
            return(RedirectToAction("SportsHall"));
        }
 public IActionResult Delete(int id)
 {
     repository.DeleteSportsHall(id);
     return(Ok(repository.SportsHallOnly));
 }