Exemple #1
0
        public ActionResult EditCustomer(Guid id)
        {
            ViewBag.User = _user;
            var model = QueryStackWorkerService.GetPersonForBankAccount(id);

            return(View(model));
        }
Exemple #2
0
        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()));
        }