Skip to content

Instantly share code, notes, and snippets.

@explorer14
Created August 28, 2019 22:54
Show Gist options
  • Save explorer14/4f7f0dc07dd9e53f20fa34fbe8fb242c to your computer and use it in GitHub Desktop.
Save explorer14/4f7f0dc07dd9e53f20fa34fbe8fb242c to your computer and use it in GitHub Desktop.
[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