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)); }
private ObservableCollection <WarehouseLocationBinType> GetWarehouseLocationBinTypes() { return(new ObservableCollection <WarehouseLocationBinType>(_serviceAgent.GetWarehouseLocationBinTypesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList())); }