Created
September 30, 2015 20:18
-
-
Save bjoerntx/04a7bbcc2d8d145790df 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] | |
public bool SaveTemplate(string documentName, string document) | |
{ | |
// these are the values coming from the HTTP Post action | |
// of the ASPX page | |
string docName = documentName; | |
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