private BindingList <WarehouseLocation> GetWarehouseLocations(string companyID) {//note this get is to the singleton repository... return(new BindingList <WarehouseLocation>(_serviceAgent.GetWarehouseLocations(companyID).ToList())); }
private BindingList <WarehouseLocation> GetWarehouseLocations(string companyID) { BindingList <WarehouseLocation> itemList = new BindingList <WarehouseLocation>(_serviceAgent.GetWarehouseLocations(companyID).ToList()); Dirty = false; AllowCommit = false; return(itemList); }