public IActionResult StadiumEdited(Stadium newStadium) { if (!ModelState.IsValid) { ModelState.AddModelError(string.Empty, "Something went wrong"); ViewBag.Schools = _clubService.GetAllClubs(); return(View("EditStadium", newStadium)); } _logger.LogInformation("Model state VALID"); _StadiumService.UpdateStadium(newStadium); _logger.LogInformation("StadiumController- Stadium succesfully updated."); return(RedirectToAction("AllStadiums")); }