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); }
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); }
public Object GetAllDefenseGameLogs() { DefenseLogs defenses = new DefenseLogs(); DefenseGameService service = new DefenseGameService(); try { service.Get(defenses); } catch (Exception e) { return(e); } return(defenses); }