protected virtual async Task <bool> Insert(UserExchangeSecret entity, string userId, bool andSave = true) { entity.Api_Secret = cipher.EncryptText(entity.Api_Secret, this.config["SecretsEncryptionKey"]); return(await base.Insert(entity, userId, andSave)); }