public EmployeeCardDetailsViewModel(EmployeeCardViewModel employeeCardViewModel = null)
		{
			EmployeeCardViewModel = employeeCardViewModel;
			Title = Resources.EmployeeCardTitle;
			SaveCaption = Resources.SaveText;
			Initialize();
		}
		public void Initialize()
		{
            //var list = FiresecManager.GetEmployees(_filter);
            EmployeeCardIndex.Clear();
            //if (list != null)
            //    foreach (var employee in list)
            //        EmployeeCardIndex.Add(new EmployeeCardViewModel(employee));
            SelectedEmployeeCard = EmployeeCardIndex.FirstOrDefault();
		}
		private void BeginEdit(EmployeeCardViewModel card = null)
		{
			EmployeeCardDetailsViewModel viewModel = new EmployeeCardDetailsViewModel(card);
			if (DialogService.ShowModalWindow(viewModel))
			{
				if (card == null)
				{
					card = viewModel.EmployeeCardViewModel;
					EmployeeCardIndex.Add(card);
				}
				else
					card.Update();
				SelectedEmployeeCard = card;
			}
		}