public IHttpActionResult GetGood([FromUri] int id) { Task.Delay(1500).GetAwaiter().GetResult(); try { var data = _goodService.GetDetailsGood <dynamic>(id, GetCurrentCurrency(), GetCurrentLanguage()); return(Ok(data)); } catch (Exception e) { return(BadRequest()); } }