public with sharing class LexPast2YearsRepairPriceReportController {
    @AuraEnabled
    public static ReturnData init(String recordId){
        ReturnData returnData = new ReturnData();
        String reportId = [select Id from Report where DeveloperName ='Last2YearsRepairPrice3'].Id;
        returnData.reportId = reportId;

        String mCEName = [select Name from Maintenance_Contract_Estimate__c where Id = :recordId].Name;
        returnData.mCEName = mCEName;

        return returnData;
        
    }
    private class ReturnData{
        @AuraEnabled
        public String reportId; 
        @AuraEnabled
        public String mCEName; 
    }
}