public IActionResult Get(string recordId) { try { return(Ok(service.FindByRecordId(recordId))); } catch (Exception ex) { return(StatusCode(500, "Service error")); } }