public class LexinfrastructureProjectController {
    @AuraEnabled
    public static Infrastructure_Project__c selectInfrastructureProject(String recordId){
        List<Infrastructure_Project__c> Infrastructure = [select Id,OCSM_Hospital__c from Infrastructure_Project__c where Id =:recordId];
        Infrastructure_Project__c inp = new Infrastructure_Project__c();
        if(Infrastructure.size() > 0){
            inp = Infrastructure[0];
        }
        return inp;
    }
}