Ejemplo n.º 1
0
        public void CreateBusinessOwner(int TelePhoneNr, string firstname, string lastname, string adress, string email, string city, int zipcode, string companyname, int CVRNR)
        {
            JacobTempEntity BusinessOwner = new JacobTempEntity();

            BusinessOwner.AddOwnerToDatabase(TelePhoneNr, firstname, lastname, adress, email, city, zipcode);
            BusinessOwner.AddBusinessToDatabase(TelePhoneNr, companyname, CVRNR);
        }
Ejemplo n.º 2
0
        // code for controller layer
        public void CreatePrivateOwner(int TelePhoneNr, string firstname, string lastname, string adress, string email, string city, int zipcode)
        {
            JacobTempEntity PrivateOwner = new JacobTempEntity();

            PrivateOwner.AddOwnerToDatabase(TelePhoneNr, firstname, lastname, adress, email, city, zipcode);
            PrivateOwner.AddPrivateToDatabase(TelePhoneNr);
        }