Beispiel #1
0
        public ActionResult EditAddress(Guid id)
        {
            ViewBag.User = _user;
            var model = QueryStackWorkerService.GetAddressForBankAccount(id);

            return(View(model));
        }
Beispiel #2
0
        private bool ÎsAddressDirty(AddressViewModel vm)
        {
            var model = QueryStackWorkerService.GetAddressForBankAccount(vm.AggregateId);

            return(!model.City.Equals(vm.City.Trim()) ||
                   !model.Hausnumber.Equals(vm.Hausnumber.Trim()) ||
                   !model.State.Equals(vm.State.Trim()) ||
                   !model.Street.Equals(vm.Street.Trim()) ||
                   !model.Zip.Equals(vm.Zip.Trim()));
        }