Esempio n. 1
0
        //[AuthorizeRoles(CustomUserRoles.Admin)]
        public async Task <IHttpActionResult> DeleteAsync([FromUri] TaskResource task)
        {
            var response = await task.DeleteAsync(this.Request);

            return(response.ToActionResult());
        }