public override void ExecuteCommand(GRSession session, StringRequestInfo requestInfo) { string req = string.Join("", requestInfo.Parameters); C_DbTabDept.Add(req); session.Send(API_ID.API_AddAreaCode, RES_STATE.FAILED); }
public override void ExecuteCommand(GRSession session, StringRequestInfo requestInfo) { session.Send(API_ID.API_GetDepts, RES_STATE.FAILED, JsonConvert.SerializeObject(C_DbTabDept.Get())); }
public override void ExecuteCommand(GRSession session, StringRequestInfo requestInfo) { string req = string.Join("", requestInfo.Parameters); C_DbTabDept.Delete(req); }
public override void ExecuteCommand(GRSession session, StringRequestInfo requestInfo) { //string req = string.Join("", requestInfo.Parameters); C_DbTabDept.Change(requestInfo.Parameters[0], requestInfo.Parameters[1]); }