public IActionResult GetFinanceRequests(Guid id) { var financeRequestWrapper = _financeService.GetFinanceRequest(id); if (financeRequestWrapper.Status.Code != FinanceRequestOperationStatus.Success) { return(BadRequest(new MessageResponse(financeRequestWrapper.Status.Code))); } return(Ok(financeRequestWrapper.FinanceRequest)); }