コード例 #1
0
        public Object GetDefGame(string team, string gameid)
        {
            Defense            defense = new Defense(team);
            DefenseGameService service = new DefenseGameService();

            try
            {
                service.Get(defense, gameid);
            }
            catch (Exception e)
            {
                return(e);
            }
            return(defense);
        }
コード例 #2
0
        public Object GetAllDefGameLogs(string team)
        {
            Defense            defense = new Defense(team);
            DefenseGameService service = new DefenseGameService();

            try
            {
                service.Get(defense);
            }
            catch (Exception e)
            {
                return(e);
            }
            return(defense);
        }
コード例 #3
0
        public Object GetAllDefenseGameLogs()
        {
            DefenseLogs        defenses = new DefenseLogs();
            DefenseGameService service  = new DefenseGameService();

            try
            {
                service.Get(defenses);
            }
            catch (Exception e)
            {
                return(e);
            }
            return(defenses);
        }