Example #1
0
 public IHttpActionResult Put([FromBody] Resources.Integration model)
 {
     return(this.ActionResult(() => model.UpdateAsync(this.Request)));
 }
Example #2
0
 public IHttpActionResult Post([FromBody] Resources.Integration model)
 {
     return(new HttpActionResult(() => model.CreateAsync(this.Request, this.Url)));
 }