public IActionResult Save(Matches match) { TempData["Result"] = _repository.UpdateMatch(match); return(RedirectToAction("Edit", new { id = match.MatchId })); }