Beispiel #1
0
        private async Task AddNewItem()
        {
            var obj = new ConditionJsonData();

            obj.Id   = SourceItems.Max(x => x.Id) + 1;
            obj.Name = "CONDITION_";
            await OpenEditor(obj, true);
        }
        private void AddSource()
        {
            var obj = new ConditionSourcesJsonData();

            obj.Id   = SourceItems.Max(x => x.Id) + 1;
            obj.Name = "CONDITION_SOURCE_TYPE_";
            OpenEditor(obj, true);
        }