Skip to content

Instantly share code, notes, and snippets.

@wallymathieu
Created October 30, 2014 08:00
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 wallymathieu/4a25a3f0420703c1094b to your computer and use it in GitHub Desktop.
Save wallymathieu/4a25a3f0420703c1094b to your computer and use it in GitHub Desktop.
Resharper reports that apikey is not used ...
[HttpGet]
public JsonResult ShowMetricsForApplication(string apikey, DateTime from, DateTime to)
{
if (!ApiKeys.IsValid(apikey)) throw new UnauthorizedAccessException();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment