public WebApiPageList()
        {
            InitializeComponent();

            var list2 = webApiService.GetPacients();

            foreach (var item in list2)
            {
                list.Add(item);
            }
            datagrid.ItemsSource = list;
        }