//udpate merely updates the repository a commit is required
 //to commit it to the db...
 private bool Update(WarehouseLocationBinType item)
 {
     _serviceAgent.UpdateWarehouseLocationBinTypeRepository(item);
     Dirty = true;
     if (CommitIsAllowed())
     {
         AllowCommit = true;
     }
     else
     {
         AllowCommit = false;
     }
     return(AllowCommit);
 }