Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created February 24, 2018 13:50
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 gdyrrahitis/5593583807db1cc5ca1a5f8a5e4d22f2 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/5593583807db1cc5ca1a5f8a5e4d22f2 to your computer and use it in GitHub Desktop.
Injection of required services
private readonly IUserService _userService;
private readonly IConfiguration _configuration;
public AuthController(IUserService userService,
IConfiguration configuration)
{
_userService = userService;
_configuration = configuration;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment