private EMKServise.PaymentInfo ConvertPaymentInfo(PaymentInfo c) { if ((object)c != null) { EMKServise.PaymentInfo ep = new EMKServise.PaymentInfo(); ep.HealthCareUnit = c.HealthCareUnit; ep.IdPaymentType = c.IdPaymentType; ep.PaymentState = c.PaymentState; ep.Quantity = c.Quantity; ep.Tariff = c.Tariff; return(ep); } else { return(null); } }
private EMKServise.PaymentInfo ConvertPaymentInfo(PaymentInfo c) { if ((object)c != null) { EMKServise.PaymentInfo ep = new EMKServise.PaymentInfo(); ep.HealthCareUnit = c.HealthCareUnit; ep.IdPaymentType = c.IdPaymentType; ep.PaymentState = c.PaymentState; ep.Quantity = c.Quantity; ep.Tariff = c.Tariff; return ep; } else return null; }