コード例 #1
0
        public HttpResponseMessage getServerList([FromBody] ServerRequest nServerRequest)
        {
            ServerResult serverResult_ = new ServerResult();

            serverResult_.mRoleList   = RoleAspect.getRoleList(nServerRequest.mOperatorName, nServerRequest.mVersionNo, nServerRequest.mAccountId);
            serverResult_.mServerList = ServerAspect.getServerList(nServerRequest.mOperatorName, nServerRequest.mVersionNo);
            return(toJson(serverResult_));
        }
コード例 #2
0
        public HttpResponseMessage getServerItems([FromBody] ServerItemReq nServerItemReq)
        {
            ServerItemRes serverItemRes_ = new ServerItemRes();

            serverItemRes_.mRoleList   = RoleAspect.getRoleList(nServerItemReq.mOperatorName, nServerItemReq.mVersionNo, nServerItemReq.mAccountId);
            serverItemRes_.mServerList = ServerAspect.getServerItems(nServerItemReq.mOperatorName, nServerItemReq.mVersionNo);
            return(ConstAspect.toJson(serverItemRes_));
        }