diff --git a/IRaCIS.Core.API/Controllers/InspectionController.cs b/IRaCIS.Core.API/Controllers/InspectionController.cs index 1b931a3de..03a5812fc 100644 --- a/IRaCIS.Core.API/Controllers/InspectionController.cs +++ b/IRaCIS.Core.API/Controllers/InspectionController.cs @@ -80,7 +80,6 @@ namespace IRaCIS.Core.API.Controllers [UnitOfWork] public async Task AddOrUpdateSV(DataInspectionDto opt) { - var fun = await _subjectVisitService.AddOrUpdateSV(opt.OptCommand); if (!fun.IsSuccess) { @@ -88,9 +87,6 @@ namespace IRaCIS.Core.API.Controllers } opt.AuditInfo.SubjectVisitId = Guid.Parse(fun.Data); opt.AuditInfo.SubjectVisitName = opt.OptCommand.VisitName; - - - return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo, null, fun); }