public Response <IEnumerable <WMS_UnitAndSpecifications_Config> > GetWMS_UnitAndSpecifications_Config(long?ProjectID, long?CustomerID, long?WarehouseID) { Response <IEnumerable <WMS_UnitAndSpecifications_Config> > response = new Response <IEnumerable <WMS_UnitAndSpecifications_Config> >(); try { ConfigAccessor accessor = new ConfigAccessor(); response.Result = accessor.GetWMS_UnitAndSpecifications_Config(ProjectID, CustomerID, WarehouseID); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }