コード例 #1
0
        public int UpdateUser(User_x user)
        {
            string UID = CheckJWT(WebOperationContext.Current);

            if (user.UID != UID)
            {
                throw new Exception("UidProvideUserDontMachWithAuthUid");
            }

            return(repository.UpdateUser(user));
        }