public virtual option ToModel() { var option = new option { option_id = ID, text = Text }; SetCustomModelProperties(option); return option; }
protected override void SetCustomModelProperties(option option) { }
protected override void SetCustomModelProperties(option option) { option.image = ImageUrl; }
protected abstract void SetCustomModelProperties(option option);