public string RegisterPagoEfectivoPaymentHttpRequest(RegisterPaymentHttpRequest registerPaymentHttpRequest) { using (var connection = new SqlConnection(connectionString)) { connection.RegisterPagoEfectivoPaymentHttpRequest(registerPaymentHttpRequest); return(registerPaymentHttpRequest.Id); } }
internal static void RegisterPagoEfectivoPaymentHttpRequest(this IDbConnection connection, RegisterPaymentHttpRequest registerPaymentHttpRequest) { connection.Execute("RegisterPagoEfectivoPaymentsRequest", registerPaymentHttpRequest, commandType: CommandType.StoredProcedure); }