Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 24, 2022 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/e381b97532d5582ff21677d9f2dd5c7b to your computer and use it in GitHub Desktop.
Save lgolubyev/e381b97532d5582ff21677d9f2dd5c7b to your computer and use it in GitHub Desktop.
public class FooController
{
public IActionResult Index()
{
var fooService = new FooService(new BarService(), new BazService());
return View(fooService.GetFoo());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment