Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Last active January 20, 2020 11:53
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 gavilanch/5b50aaa667b1f9eb2a7d7bb14fc91631 to your computer and use it in GitHub Desktop.
Save gavilanch/5b50aaa667b1f9eb2a7d7bb14fc91631 to your computer and use it in GitHub Desktop.
[ApiController]
[Route("api/[controller]")]
public class PeopleController : ControllerBase
{
private readonly IFileStorageService fileStorageService;
public PeopleController(IFileStorageService fileStorageService)
{
this.fileStorageService = fileStorageService;
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment