private BindingList <WarehouseLocationCode> GetWarehouseLocationCodeByID(string itemCodeID, string companyID) { BindingList <WarehouseLocationCode> itemCodeList = new BindingList <WarehouseLocationCode>(_serviceAgent.GetWarehouseLocationCodeByID(itemCodeID, companyID).ToList()); Dirty = false; AllowCommit = false; return(itemCodeList); }