คิวรี่ ขร1.

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2023-09-04 13:28:23 +07:00
parent 1147011980
commit ee884f9434
6 changed files with 16352 additions and 10 deletions

View file

@ -1,4 +1,5 @@
using BMA.EHR.Domain.Common;
using BMA.EHR.Application.Repositories.Reports;
using BMA.EHR.Domain.Common;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
@ -17,7 +18,7 @@ namespace BMA.EHR.Report.Service.Controllers
private readonly IWebHostEnvironment _hostingEnvironment;
private readonly IConfiguration _configuration;
//private readonly ProbationReportRepository _repository;
private readonly InsigniaReportRepository _repository;
private readonly GenericReportGenerator _reportGenerator;
@ -25,9 +26,9 @@ namespace BMA.EHR.Report.Service.Controllers
#region " Constuctor and Destructor "
public InsigniaReportController(IWebHostEnvironment hostingEnvironment, IConfiguration configuration, /*ProbationReportRepository repository,*/ GenericReportGenerator reportGenerator)
public InsigniaReportController(IWebHostEnvironment hostingEnvironment, IConfiguration configuration, InsigniaReportRepository repository, GenericReportGenerator reportGenerator)
{
_hostingEnvironment = hostingEnvironment;
_configuration = configuration;
//_repository = repository;
@ -53,7 +54,7 @@ namespace BMA.EHR.Report.Service.Controllers
{
try
{
// GetKhr1Report
var mimeType = "";
switch (exportType.Trim().ToLower())
{
@ -90,7 +91,7 @@ namespace BMA.EHR.Report.Service.Controllers
{
try
{
// GetKhr2Report
var mimeType = "";
switch (exportType.Trim().ToLower())
{
@ -127,7 +128,7 @@ namespace BMA.EHR.Report.Service.Controllers
{
try
{
// GetKhr3Report
var mimeType = "";
switch (exportType.Trim().ToLower())
{