public IActionResult GetById(TransactionGetByIdModel transactionGetByIdModel) { var result = _transactionDataAccess.GetByIdAsync(transactionGetByIdModel.Id).Result; if (result == null) { return(BadRequest("Not found")); } return(Ok(result)); }