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_)); }
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_)); }