public async Task <IHttpActionResult> GetById(int id) { return(await TryCatchAsync(async() => { var match = await _matchesServices.GetById(id); if (match.Id == 0) { return NotFound(); } return Ok(match); })); }