private void Prepare(int?id) { Input = _bonusService.GetForEdit(id); var types = new Enum[] { BonusType.Weapon, BonusType.Branch, BonusType.Race }; TypeOptions = _coreLogic.ToSelectableList(types); }