/// <summary> /// List of clients /// </summary> public ClientListResponse ClientList(HeaderInfo headerInfo) { var clientListResponse = new ClientListResponse(); clientListResponse.response = new ResponseStatus(); // clientListResponse.clientList = Client.List(headerInfo); clientListResponse.clientList = RepClient.List(headerInfo); return(clientListResponse); }
/// <summary> /// List of clients /// </summary> public ClientListResponse ClientList(HeaderInfo headerInfo) { var clientListResponse = new ClientListResponse(); clientListResponse.response = new ResponseStatus(); // clientListResponse.clientList = Client.List(headerInfo); try { clientListResponse.clientList = RepClient.List(headerInfo); } catch (Exception ex) { string s = ex.ToString(); } return(clientListResponse); }