示例#1
0
        public ActionResult Delete(int id)
        {
            try
            {
                ApiCaller.DeleteTournament(id);

                return(RedirectToAction("Index", "Tournament"));
            }
            catch
            {
                return(RedirectToAction("Index", "Home"));
            }
        }