|
|
|
@ -54,7 +54,7 @@ where patient_register.id = @PatientRegisterId and |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public async Task<List<PatientRegisterForLisRequest>> GetRequestPatientRegisters(int days) |
|
|
|
public async Task<List<PatientRegisterForLisRequest>> GetRequestPatientRegistersAsync(int days) |
|
|
|
{ |
|
|
|
using (DbConnection conn = new NpgsqlConnection(AppConnctionStr)) |
|
|
|
{ |
|
|
|
@ -95,7 +95,7 @@ ORDER BY register_check.patient_register_id |
|
|
|
{ |
|
|
|
days = 1; |
|
|
|
} |
|
|
|
var patientRegisters = GetRequestPatientRegisters(days).Result; |
|
|
|
var patientRegisters = GetRequestPatientRegistersAsync(days).Result; |
|
|
|
|
|
|
|
foreach (var patientRegister in patientRegisters) |
|
|
|
{ |
|
|
|
|