//Add it to Customer database, and the selected customers database.
        public string AddUnitForCustomer(string UnitID, string Room, string type, string customer)
        {
            DataAccess da = new DataAccess();
            if (da.AddUnitToCustomerTable(UnitID, customer))
            {

                switch (customer)
                {
                    case "RegionH":
                        if (da.AddUnit(UnitID, Room, type, customer))
                        {

                            switch (type)
                            {
                                case "Soapdispenser":
                                    if (da.AddSoapDataSet(UnitID))
                                    {
                                        return "Unit added to the system, as Soapdispenser";
                                    }
                                    else
                                    {
                                        return "Unit added, but failed to add Soap data";
                                    }

                                default:

                                    return "Unit added, but type doesn't have any special function";
                            }

                        }
                        else
                        {
                            return "Unit not added to RegionH database";
                        }

                    case "something":

                        return "something!";

                    default:

                        return "Customer not valid";
                }

            }
            else
            {
                return "Error - Couldn't add unit to Customer table";
            }
        }