Beispiel #1
0
        private static void AddPatient(Default.Container container)
        {
            var patient = new testClient.Org.Naima.Services.Cases.Models.Patient()
            {
                Name       = "ABD",
                Id         = 2,
                LocationId = 2
            };

            container.AddToPatients(patient);
            var serviceResponse = container.SaveChanges();

            foreach (var operationResponse in serviceResponse)
            {
                Console.WriteLine("Response: {0}", operationResponse.StatusCode);
            }
        }