示例#1
0
        public ActionResult EditMatch(Match match)
        {
            bool result = matchProvider.UpdateMatch(match);

            if (!result)
            {
                log.Error("Controller: Match, Action: EditMatch Don't update Match");
            }
            else
            {
                cacheService.DeleteCache(cacheKey);
            }
            return(RedirectToAction("ShowMatches"));
        }