public void RegisterPaymentOnPagoEfectivo(RegisterPaymentOnPagoEfectivo registerPaymentOnPagoEfectivo) { using (var connection = new SqlConnection(connectionString)) { connection.RegisterPaymentOnPagoEfectivo(registerPaymentOnPagoEfectivo); } }
internal static void RegisterPaymentOnPagoEfectivo(this IDbConnection connection, RegisterPaymentOnPagoEfectivo registerPaymentOnPagoEfectivo) { connection.Execute("RegisterPaymentOnPagoEfectivoPayments", registerPaymentOnPagoEfectivo, commandType: CommandType.StoredProcedure); }