public static UserPO ToUserPO(this User entity) { UserPO result = new UserPO(); result.Username = entity.Username; result.Password = entity.Password; return(result); }
public static User ToUser(this UserPO po) { User result = new User(); result.Username = po.Username; result.Password = po.Password; return(result); }
public static UserPO ToUserPO(this User entity) { UserPO result = new UserPO(); result.Username = entity.Username; result.Password = entity.Password; return result; }