public void MakeTransaction(IEnumerable <ExecuteCommand> commands) { if (commands.Any()) { SetTransactionStrategy(commands.FirstOrDefault()); ExecuteTask(() => { transactionStrategy.MakeTransaction(commands, connection); return(true); }); } }