//[AuthorizeRoles(CustomUserRoles.Admin)] public async Task <IHttpActionResult> PutAsync([FromBody] TaskResource task) { var response = await task.PutAsync(this.Request, this.Url); return(response.ToActionResult()); }
//[AuthorizeRoles(CustomUserRoles.Admin)] public async Task <IHttpActionResult> PutAsync([FromBody] TaskResource task) { var response = await task.PutAsync(this.Request, this.Url); return(response.ToActionResult()); }