Created
October 30, 2014 08:00
-
-
Save wallymathieu/4a25a3f0420703c1094b to your computer and use it in GitHub Desktop.
Resharper reports that apikey is not used ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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