public bool AddBranch(Branch branch)//adds a branch
        {
            if (branch.branchAvailableDeliveryGuys <= 0)
            {
                throw new Exception("branch num delivery guys must be a positive number");
            }
            if (branch.branchNumber < 0)
            {
                throw new Exception("branch num must be a positive number");
            }
            if (branch.branchNumWorkers <= 0)
            {
                throw new Exception("branch num workers must be a positive number");
            }

            return(dal.AddBranch(branch));
        }