예제 #1
0
        private ObservableCollection <WarehouseLocationBinType> BuildWarehouseLocationBinTypeDropDown()
        {
            List <WarehouseLocationBinType> list = new List <WarehouseLocationBinType>();

            list = _serviceAgent.GetWarehouseLocationBinTypesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList();
            list.Add(new WarehouseLocationBinType());
            list.Sort((x, y) => string.Compare(x.Type, y.Type));

            return(new ObservableCollection <WarehouseLocationBinType>(list));
        }
예제 #2
0
 private ObservableCollection <WarehouseLocationBinType> GetWarehouseLocationBinTypes()
 {
     return(new ObservableCollection <WarehouseLocationBinType>(_serviceAgent.GetWarehouseLocationBinTypesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList()));
 }