internal static ArmViewModel ToViewModel(this IArmDto arm) { return(new ArmViewModel { SerialNumber = arm.ArmId }); }
public static Arm FromDto(IArmDto droid) { if (droid == null) { return(null); } return(new Arm(droid.ArmId)); }