public bool UpdateAccount(AccountDto acc) { AccountPresenter accPresenter = new AccountPresenter(); if (accPresenter.UpdateAccount(acc) != null) { AccountBindingList.ResetBindings(); acc.ApplicationDomainDtoList.RemoveAll(it => it.State == Framework.Common.CommonBase.DtoObjectState.Deleted); return(true); } return(false); }