public ViewResult Index()
 {
     var viewModel = new PersonViewModel();
     viewModel.Result = _personFacade.GetPersons();
     viewModel.Query = new PersonQuery();
     return View(viewModel);
 }
 public ActionResult Index(PersonViewModel model)
 {
     if (ModelState.IsValid)
     {
         model.Result = _personFacade.Search(model.Query);
     }
     return View(model);
 }