Last active
October 29, 2017 17:29
-
-
Save arutnik/37a1e8a11674526d73d4a03e90939137 to your computer and use it in GitHub Desktop.
SFA Part 3 : Basic Controller
This file contains hidden or 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 class sftestcontroller { | |
@RemoteAction | |
public static string helloAngular(string name) { | |
return 'User ' + UserInfo.getUserId() + ' says hello ' + name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment