public static OrderCaseManager GetInstance(string gmrid, CookieCollection cookies, HttpHeaderList headers) { if (_odrCaseMgrInstance == null) { _odrCaseMgrInstance = new OrderCaseManager(gmrid, cookies, headers); } return(_odrCaseMgrInstance); }
private void PutOrderIdToCase(string orderId) { _orderCaseMgrInstance = OrderCaseManager.GetInstance(this._gmrid, this._loginCookies, this._header); _orderCaseMgrInstance.AddNewOrderId(orderId.Trim()); }