public AddressDto(AddressDto address) { //Sunil: was throwing an error since was address null if (address == null) { return; } Id = address.Id; Address1 = address.Address1; Address2 = address.Address2; City = address.City; State = address.State; ZipCode = address.ZipCode; Country = address.Country; Phone = address.Phone; Fax = address.Fax; Mobile = address.Mobile; IsInternational = address.IsInternational; EntityStatus = address.EntityStatus; Email = address.Email; }
public PatientEmploymentDto() { Address = new AddressDto(); }