public IActionResult EditScore(int id) { var model = moderationService.PrepareMatchScore(id); if (model == null) { this.ModelState.AddModelError(string.Empty, "Match not found."); return(View(new BetMatchBindingModel())); } return(View(model)); }