Ejemplo n.º 1
0
        public async Task <IActionResult> TeamDetails(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var team = await _wpbService.GetTeamAsync(id);

            if (team == null)
            {
                return(NotFound());
            }

            return(View(team));
        }