public ActionResult EditCustomer(Guid id) { ViewBag.User = _user; var model = QueryStackWorkerService.GetPersonForBankAccount(id); return(View(model)); }
private bool IsPersonDirty(PersonViewModel vm) { var model = QueryStackWorkerService.GetPersonForBankAccount(vm.AggregateId); return(!model.FirstName.Equals(vm.FirstName.Trim()) || !model.LastName.Equals(vm.LastName.Trim()) || !model.IdCard.Equals(vm.IdCard.Trim()) || !model.IdNumber.Equals(vm.IdNumber.Trim())); }