public DeviceInfo GetFirstMatch([FromUri]DeviceInfo device) { var d = MobileDb.Instance.GetFirstMatch(device); if (d == null) { throw new HttpResponseException(HttpStatusCode.NotFound); } return d; }