createpatientatfoodplaces work in progress

This commit is contained in:
Strati 2018-08-26 19:11:04 +02:00
parent 84e2d4cc85
commit cf7d6fd0ba
1 changed files with 13 additions and 0 deletions

View File

@ -77,5 +77,18 @@ namespace WpfWebClient.Helper
return Foodplaces;
}
public static List<PatientAtFoodPlace> CreatePatientAtFoodPlaces()
{
WpfWebClient.ServiceReferenceEHEC.ServiceClient client = new WpfWebClient.ServiceReferenceEHEC.ServiceClient();
List<WpfWebClient.ServiceReferenceEHEC.FoodPlace> foodPlaces = new List<ServiceReferenceEHEC.FoodPlace>(client.GetFoodPlaces());
List<WpfWebClient.ServiceReferenceEHEC.Person> patients = new List<ServiceReferenceEHEC.Person>(client.GetPersons());
foodPlaces.OrderBy(x => random.Next()).Take(50);
}
return x
}
}