Last active
November 2, 2015 02:39
-
-
Save msrivastav13/15c660b294240c22bec7 to your computer and use it in GitHub Desktop.
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 SLDSValidatordemocontroller{ | |
public SLDSValidatordemocontroller(ApexPages.StandardController controller) { | |
} | |
@RemoteAction | |
public static Id createAccount(String name,String fax){ | |
Account acc = new Account(); | |
acc.Name = name; | |
acc.Fax = fax; | |
insert acc; | |
return acc.Id; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment