public object Post(UserOptions request) { if (request.UserId == -1 || !IsLoggedIn) { return(UnauthorizedResponse()); } Log.Debug(request.Dump()); UserDbProvider.Instance.UpdateUserOptions(request); return(NoContentResponse()); }
public object Post(UserOptions request) { if (request.UserId == -1 || !IsLoggedIn) return UnauthorizedResponse(); Log.Debug(request.Dump()); UserDbProvider.Instance.UpdateUserOptions(request); return NoContentResponse(); }