コード例 #1
0
        private void Initialize()
        {
            ProductSearchTypes       = _restApiClient.GetAllProductSearchTypes();
            AvailableOwners          = _restApiClient.GetAllOwners();
            AvailableProductStatuses = _restApiClient.GetAllProductStatuses();
            AvailableProductTypes    = _restApiClient.GetAllProductTypes();
            AvailableZones           = _restApiClient.GetAllZones();
            if (UserContext.CanAddUser())
            {
                var allActiveUsers = _restApiClient.GetAllActiveUsers();

                foreach (var user in allActiveUsers)
                {
                    AllActiveUsers.Add(user);
                }
            }
            InventorySearchTypeDtos = _restApiClient.GetAllInvenotoyrSearches();
        }