public IActionResult PersonUpsert(PersonModel personModel, PersonSearchModel personSearchModel) { int?personId = PersonData.PersonUpsert(AutoMap.Mapper.Map(personModel, new PersonDataModel())); return(RedirectToAction("Search", personSearchModel)); }