public ActionResult AddMatch(Match match) { Result res = new Result { ResultId = 3 }; match.Result = res; match.Score = "0"; bool result = matchProvider.AddMatch(match); if (!result) { log.Error("Controller: Match, Action: AddMatch Don't add Match"); } else { cacheService.DeleteCache(cacheKey); } return(RedirectToAction("ShowMatches")); }