public List <LastMatch> GetLastFiveMatch(bool isItA, string TeamName) { if (isItA) { return(lastMatchesA = _interactionController.GetlastFiveTeamMatch(TeamName)); } else { return(lastMatchesB = _interactionController.GetlastFiveTeamMatch(TeamName)); } }
public List <LastMatch> GetlastFiveTeamMatch(string teamName) { return(_disciplineController.GetlastFiveTeamMatch(teamName)); }