แก้ส่งออกข้อมูลเรียงลำดับ

This commit is contained in:
Suphonchai Phoonsawat 2023-06-16 16:16:35 +07:00
parent 27b2c187ee
commit f6f52f68e9
25 changed files with 61 additions and 46 deletions

View file

@ -10,7 +10,6 @@ using BMA.EHR.Recruit.Service.Core;
using BMA.EHR.Recruit.Service.Data;
using BMA.EHR.Recruit.Service.Models.Documents;
using BMA.EHR.Recruit.Service.Responses.Document;
using Elasticsearch.Net;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Recruit.Service.Services
@ -188,7 +187,7 @@ namespace BMA.EHR.Recruit.Service.Services
public async Task<string> GetFilePath(Guid fileId)
{
var doc = await _context.Documents.AsQueryable()
.FirstOrDefaultAsync(x => x.Id == fileId);