Exemple #1
0
        public static ContactPerson CreateContactPerson()
        {
            ContactPerson cp = new ContactPerson();

            cp.FirstName    = "Tim";
            cp.LastName     = "Romi";
            cp.EmailAddress = "*****@*****.**";
            return(cp);
        }
Exemple #2
0
        public static Company CreateCompany()
        {
            Company c = new Company();

            c.Name         = "Pizza Romi";
            c.Vat          = "BE0123456789";
            c.EmailAddress = "*****@*****.**";
            // ContactPerson
            ContactPerson cp = new ContactPerson();

            cp.FirstName    = "Tim";
            cp.LastName     = "Romi";
            cp.EmailAddress = "*****@*****.**";
            // Company Address.
            Address ca = new Address();

            ca = CreateAddress();
            // Mailing Address.
            Address ma = new Address();

            ma = CreateAddress();
            return(c);
        }