예제 #1
0
 public PersonsController()
 {
     personServices = new PersonServices();
     personServices.createPerson(1, "Andreas", "Grossbauer");
     testClass      = new TestClass();
     testClass.Id   = 1;
     testClass.Name = "Andreas";
 }
예제 #2
0
        static void Main(string[] args)
        {
            PersonServices personServices = new PersonServices();

            personServices.createPerson(1, "Andreas", "Grossbauer");
            Console.WriteLine(personServices.findPerson(1).PersonId().ToString());
            Console.ReadKey();
        }