public static SysUserModel Reduce(this FullSysUserModel from) { SysUserModel to = new SysUserModel(); Reduce(from, to); return to; }
public static void Reduce(this FullSysUserModel from, SysUserModel to) { to.SysUserId = from.SysUserId; to.SysUsername = from.SysUsername; }