Created
August 28, 2019 22:54
-
-
Save explorer14/4f7f0dc07dd9e53f20fa34fbe8fb242c 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("api/workflow/invoke")] | |
public IActionResult Invoke() | |
{ | |
Task.Run(async ()=> await useCase.StartBackgroundWork()); | |
return Accepted(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment