예제 #1
0
        // PUT: api/Permission/5
        //public void Put(int id, [FromBody]UpdatePermissionDTO value)
        //{
        //    ps.UpdatePermission(value);
        //}

        //POST: api/Permission
        public ReadUserDTO Post([FromBody] AddUserBoardPermisionDTO value)
        {
            return(ps.AddUserBoardPermision(value, User.Identity.Name));
        }