Uat_Study
hang 2022-04-15 10:18:30 +08:00
parent 4cc64e1e21
commit 4c75e85229
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace IRaCIS.Core.Application.Service
VerifyMsg = "Document Code Can not Repeat."
};
var entity = await _commonDocumentRepository.InsertFromDTOAsync(addOrEditCommonDocument, true, verifyExp1);
var entity = await _commonDocumentRepository.InsertOrUpdateAsync(addOrEditCommonDocument, true, verifyExp1);
return ResponseOutput.Ok(entity.Id.ToString());