Replaced DigitalData.Modules.Database with EnvelopeGenerator.ServiceHost.Jobs.Infrastructure in using statements and class namespaces. All database operations are now organized under the new namespace for better clarity and project structure.
15 lines
488 B
C#
15 lines
488 B
C#
using EnvelopeGenerator.ServiceHost.Jobs.Infrastructure;
|
|
using System.Data;
|
|
|
|
namespace EnvelopeGenerator.ServiceHost.Jobs;
|
|
|
|
[Obsolete("Create and use EnvelopeReport mediator queries")]
|
|
public class ReportModel(MSSQLServer Database)
|
|
{
|
|
[Obsolete("Create and use EnvelopeReport mediator queries")]
|
|
public DataTable List(int envelopeId)
|
|
{
|
|
var sql = $"SELECT * FROM VWSIG_ENVELOPE_REPORT WHERE ENVELOPE_ID = {envelopeId}";
|
|
return Database.GetDatatable(sql);
|
|
}
|
|
} |