public DestUser Convert(SrcUser srcUser) { var destUser = new DestUser { AdditionalProperties = new Dictionary <string, object>() }; convert(srcUser, destUser, false); return(destUser); }
public SrcUser Convert(DestUser destUser) { var srcUser = new SrcUser { AdditionalProperties = new Dictionary <string, object>(), Phones = new List <SrcUserPhone>(), Emails = new List <SrcUserEmail>() }; convert(destUser, srcUser, true); return(srcUser); }