แก้ให้ return แค่ id
This commit is contained in:
parent
caad36949b
commit
8b5a46cb52
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
await _context.PeriodExams.AddAsync(periodExam);
|
||||
await _context.SaveChangesAsync();
|
||||
|
||||
return Success(periodExam);
|
||||
return Success(periodExam.Id);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue