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

            return(View(model));
        }
Beispiel #2
0
        private bool IsContactDirty(ContactViewModel vm)
        {
            var model = QueryStackWorkerService.GetContactForBankAccount(vm.AggregateId);

            return(!model.Email.Equals(vm.Email.Trim()) ||
                   !model.PhoneNumber.Equals(vm.PhoneNumber.Trim()));
        }