Beispiel #1
0
        public Object GetAllDefSeasonStats()
        {
            DefenseLogs          defenses = new DefenseLogs();
            DefenseSeasonService service  = new DefenseSeasonService();

            try
            {
                service.Get(defenses);
            }
            catch (Exception e)
            {
                return(e);
            }
            return(defenses);
        }
Beispiel #2
0
        public Object GetAllDefenseSeasonLogs(string team)
        {
            Defense defense = new Defense(team);
            DefenseSeasonService service = new DefenseSeasonService();

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