public async Task <ActionResult> PostLeague(PostLeagueRequest postLeagueRequest) { try { var result = await _leagueService.AddAsync(postLeagueRequest); return(Created(result.url, result.createdDto)); } catch (ArgumentException aEx) { return(BadRequest(aEx.Message)); } }