public IActionResult Get() { try { TeamList teamList = _teamManager.GetTeamList(); if (teamList.TeamHeaders.Count > 0) { return(Ok(teamList)); } } catch (Exception e) { string message = e.Message; } return(NotFound()); }
public IActionResult Get() { try { TeamList teamList = _teamManager.GetTeamList(); if (teamList.TeamHeaders.Count > 0) { return(Ok(teamList)); } } catch (Exception e) { string message = e.Message; } return(NotFound()); }