Exemplo n.º 1
0
        public async Task <IHttpActionResult> AddPermission(tbl_Permission item)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            CRUDOperation  operation = new CRUDOperation();
            tbl_Permission dbitem    = operation.AddPermission(item);

            return(Ok(dbitem));
        }