public static TherapyPlaceType SetNewIcon(this TherapyPlaceType therapyPlaceType, TherapyPlaceTypeIcon newIcon) { return(new TherapyPlaceType(therapyPlaceType.Name, newIcon, therapyPlaceType.Id)); }
public static TherapyPlaceType SetNewName(this TherapyPlaceType therapyPlaceType, string newName) { return(new TherapyPlaceType(newName, therapyPlaceType.IconType, therapyPlaceType.Id)); }