Uat_Study
parent
4cc64e1e21
commit
4c75e85229
|
@ -47,7 +47,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
VerifyMsg = "Document Code Can not Repeat."
|
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());
|
return ResponseOutput.Ok(entity.Id.ToString());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue