| | |
| | | res.profileId = UserInfo.getProfileId(); |
| | | res.m2profileId = [select Id from Profile where Name =: lexLightingButtonConstant.M2_PROFILE_NAME].Id; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(e.getMessage()); |
| | | } |
| | | return res; |
| | | } |
| | |
| | | ]; |
| | | res.schemeType = so.Scheme_Type__c; |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | System.debug(e.getMessage()); |
| | | } |
| | | return res; |
| | | } |
| | | class InitData{ |
| | | public class InitData{ |
| | | @AuraEnabled |
| | | public String status; |
| | | @AuraEnabled |