public Response <IEnumerable <WMSConfig> > GetWMSCustomerConfig_Return(long?customerID) { Response <IEnumerable <WMSConfig> > response = new Response <IEnumerable <WMSConfig> >(); try { ConfigAccessor accessor = new ConfigAccessor(); response.Result = accessor.GetWMSCustomerConfig_Return(customerID); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }