public IActionResult DeleteHall(SportHallenViewModel viewModel) { _complexAccess.DeleteHall(viewModel.SelectedHallId); viewModel.SportHalls = _complexAccess.GetHalls(viewModel.SportComplexId); return(RedirectToAction("Hall", viewModel)); }
public IActionResult DeleteHall(SportHallenViewModel viewModel) { _complexAccess.DeleteHall(viewModel.SelectedHallId); viewModel.SportHalls = _complexAccess.GetHalls(viewModel.SportComplexId); return(RedirectToAction("Hall", viewModel)); }