예제 #1
0
 public void CreateOrUpdateWithOutNLP(CreateOrUpdateFinancialAccountingCertificateInput input, bool isUpdateForChange = false, Guid?flowId = null)
 {
     if (input.Id.HasValue && input.Id.Value != Guid.Empty)
     {
         var inputBase = input as UpdateFinancialAccountingCertificateInput;
         inputBase.Id = input.Id.Value;
         UpdateWithOutNLP(inputBase, isUpdateForChange, flowId);
     }
     else
     {
         CreateWithOutNLP(input);
     }
 }
예제 #2
0
 public void CreateOrUpdate(CreateOrUpdateFinancialAccountingCertificateInput input)
 {
     if (input.Id.HasValue)
     {
         var inputBase = input as UpdateFinancialAccountingCertificateInput;
         inputBase.Id = input.Id.Value;
         Update(inputBase);
     }
     else
     {
         Create(input);
     }
 }