public IHttpActionResult Delete([FromBody] Resources.Queries.TokenCredentialQuery model) { return(new HttpActionResult(() => model.DeleteAsync(this.Request, this.Url))); }
public IHttpActionResult Get([FromUri] Resources.Queries.TokenCredentialQuery model) { return(new HttpActionResult(() => model.QueryAsync(this.Request, this.Url))); }