Created
November 15, 2016 19:29
-
-
Save casper-rasmussen/10b8cd33573c542451905cff2518e2dc 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
[System.Web.Http.HttpGet] | |
public async Task<IHttpActionResult> Load() | |
{ | |
//Run your language dependent code | |
string date = DateTime.Now.ToString(ContentLanguage.PreferredCulture); | |
return Ok(date); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment