public object Execute() { originalValue = (CredentialGroup)ToBeUpdated.Clone(); ToBeUpdated.Name = UpdatedCredential.Name; return(ToBeUpdated); }
public object Execute() { originalValue = (Credential)ToBeUpdated.Clone(); ToBeUpdated.Group = UpdatedCredential.Group; ToBeUpdated.Name = UpdatedCredential.Name; ToBeUpdated.Username = UpdatedCredential.Username; ToBeUpdated.Password = UpdatedCredential.Password; ToBeUpdated.URL = UpdatedCredential.URL; ToBeUpdated.Notes = UpdatedCredential.Notes; return(ToBeUpdated); }