Created
October 5, 2015 21:50
-
-
Save bjoerntx/a6d28aa6c0caba8f980f to your computer and use it in GitHub Desktop.
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
[HttpPost] | |
[AllowAnonymous] | |
public bool SaveTemplate(string document) | |
{ | |
// these are the values coming from the HTTP Post action | |
// of the ASPX page | |
string doc = document; | |
// the document can now be saved in your Controller action | |
// ... | |
// return true, if successful | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment