private ObservableCollection <WarehouseType> BuildWarehouseTypeDropDown()
        {
            List <WarehouseType> list = new List <WarehouseType>();

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

            return(new ObservableCollection <WarehouseType>(list));
        }
Example #2
0
 private ObservableCollection <WarehouseType> GetWarehouseTypes()
 {
     return(new ObservableCollection <WarehouseType>(_serviceAgent.GetWarehouseTypesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList()));
 }