Beispiel #1
0
        public async void HandleValidSubmit()
        {
            Console.WriteLine("InstanceForm::HandleValidSubmit");
            if (Instance.Id == null)
            {
                Instance = await instanceService.AddInstance(Instance);

                Instances.AddInstance(Instance);
            }
            else
            {
                instanceService.UpdateInstance(Instance);
            }
        }