public static Appointment Create(AppointmentView view) { var d = new AppointmentData(); Copy.Members(view, d); return(new Appointment(d)); }
public static AppointmentView Create(Appointment obj) { var v = new AppointmentView(); Copy.Members(obj.Data, v); return(v); }