public async Task <IActionResult> GetAsync(int id) { try { return(Ok(await _services.GetOne(id))); } catch (FXSException fxse) { return(StatusCode(Int32.Parse(fxse.Code), new ExceptionModel { Message = fxse.Message, Code = fxse.Code })); } catch (Exception ex) { return(NotFound(ex.Message)); } }