This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user