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