예제 #1
0
        public async Task <JsonResult> GetTeams()
        {
            var teams = await _teamService.GetTeams();

            return(new JsonResult(teams)
            {
                StatusCode = 200
            });
        }