Skip to content

Instantly share code, notes, and snippets.

@Ciwan1859
Created August 9, 2017 08:05
Show Gist options
  • Save Ciwan1859/e9a2d6ddcee0c2145a2b3e434c4021af to your computer and use it in GitHub Desktop.
Save Ciwan1859/e9a2d6ddcee0c2145a2b3e434c4021af to your computer and use it in GitHub Desktop.
public class DummyController : Controller
{
private BbContext _context;
public DummyController(BbContext context)
{
_context = context;
}
[HttpGet("api/testdatabase")]
public IActionResult TestDatabase()
{
return Ok();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment