Created
September 9, 2020 20:45
-
-
Save rsindall/30116de8421b15b66455dc3c16487541 to your computer and use it in GitHub Desktop.
Example Full Calendar Event Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class FullCalendarEventController { | |
@AuraEnabled(cacheable=true) | |
public static List<Event__c> fetchEvents() { | |
return [SELECT Name, Subject__c, Start_Date_Time__c, End_Date_Time__c FROM Event__c ORDER BY CreatedDate DESC]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment