Exemplo n.º 1
0
        //[AuthorizeRoles(CustomUserRoles.Admin)]
        public async Task <IHttpActionResult> PutAsync([FromBody] TaskResource task)
        {
            var response = await task.PutAsync(this.Request, this.Url);

            return(response.ToActionResult());
        }