Пример #1
0
        private BindingList <Warehouse> GetWarehouses(string companyID)
        {
            BindingList <Warehouse> itemList = new BindingList <Warehouse>(_serviceAgent.GetWarehouses(companyID).ToList());

            Dirty       = false;
            AllowCommit = false;
            return(itemList);
        }
Пример #2
0
 private BindingList <Warehouse> GetWarehouses(string companyID)
 {//note this get is to the singleton repository...
     return(new BindingList <Warehouse>(_serviceAgent.GetWarehouses(companyID).ToList()));
 }