public async Task <IActionResult> InformationDetails(int InformationId) { try { var response = await _service.GetInformation(InformationId); if (response != null) { return(Ok(response)); } return(StatusCode(StatusCodes.Status204NoContent)); } catch (Exception ex) { throw ex; } }