public DisableResult Disable(DisableRequest disableRequest) { var jsonRequest = Util.JsonOperation.SerializeRequest(disableRequest); var jsonResponse = _disable.Request(jsonRequest); return(Util.JsonOperation.Deserialize <DisableResult>(jsonResponse)); }
public DisableResult Disable(DisableRequest disableRequest) { DisableResult result = null; try { var jsonRequest = Util.JsonOperation.SerializeRequest(disableRequest); var jsonResponse = _disable.Request(jsonRequest); result = Util.JsonOperation.Deserialize <DisableResult>(jsonResponse); } catch (Exception ex) { throw ex; } return(result); }