예제 #1
0
        public static bool UpdateAccount(Account modifiedAccount)
        {
            bool isSuccess;

            var updateResponse = Service.Update(modifiedAccount);

            isSuccess = !updateResponse.HasException;

            return isSuccess;
        }
예제 #2
0
 public Account(Account account)
     : base(account)
 {
     Id = account.Id;
     Account_Name = account.Account_Name;
     Modified_By = account.Modified_By;
     Owned_By = account.Owned_By;
     Sla = account.Sla;
     Shown_Accounts = new List<Account>(account.Shown_Accounts);
     Default_Customer_Role = account.Default_Customer_Role;
 }