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); } }
public void CreateOrUpdate(CreateOrUpdateFinancialAccountingCertificateInput input) { if (input.Id.HasValue) { var inputBase = input as UpdateFinancialAccountingCertificateInput; inputBase.Id = input.Id.Value; Update(inputBase); } else { Create(input); } }