Exemplo n.º 1
0
        public ActionResult DeleteScore(int id, Score model)
        {
            var result = _scoreMgr.GetScoreById(id);

            if (result == null)
            {
                return(View("not found"));
            }
            _scoreMgr.DeleteScore(id);
            return(RedirectToAction("Index"));
        }