Exemple #1
0
        public void ControllerCreateBusinessOwner(int TelePhoneNr, string firstname, string lastname, string adress, string email, string city, int zipcode, string companyname, int CVRNR)
        {
            Owner    owner         = new Owner(TelePhoneNr, firstname, lastname, adress, email, city, zipcode);
            Business BusinessOwner = new Business(TelePhoneNr, CVRNR, companyname);

            owner.AddOwnerToDatabase();
            BusinessOwner.AddBusinessToDatabase();
        }