예제 #1
0
        public object Post(UserOptions request)
        {
            if (request.UserId == -1 || !IsLoggedIn)
            {
                return(UnauthorizedResponse());
            }
            Log.Debug(request.Dump());

            UserDbProvider.Instance.UpdateUserOptions(request);

            return(NoContentResponse());
        }
예제 #2
0
        public object Post(UserOptions request)
        {
            if (request.UserId == -1 || !IsLoggedIn) return UnauthorizedResponse();
            Log.Debug(request.Dump());

            UserDbProvider.Instance.UpdateUserOptions(request);

            return NoContentResponse();
        }