예제 #1
0
        //[AuthorizeRoles(CustomUserRoles.Admin)]
        public async Task <IHttpActionResult> PostAsync([FromBody] TaskResource task)
        {
            var response = await task.PostAsync(this.Request, this.Url);

            return(response.ToActionResult());
        }