Created
May 5, 2016 17:35
-
-
Save sowamazing/381e8564ecfb7242bf1c9aaa4c57e7d0 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
public ActionResult Index() | |
{ | |
try | |
{ | |
// all of your code here | |
} catch (Exception e) | |
{ | |
// do something | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment