Last active
October 12, 2018 20:54
-
-
Save jesuscampos/f2a64dd5f1fabc666d8adb3a02281086 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 class HomeController: Controller | |
{ | |
public IActionResult Get() | |
{ | |
var result = DoWork(100); | |
return View(result); | |
} | |
public long DoWork(int n) | |
{ | |
// CPU-Bound work | |
// ... | |
return fibonacciNumber; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment