internal ApplicationPresenter(IEditingApplicationView view, int number) : base(view, number, _messageSaveConfirmation)
        {
            View.Title = string.Concat("Редактирование заявки на ремонт");

            _optionsCustomerJournal = new OptionCustomerJournal(View.Options, number);
            _reasonsCustomerJournal = new ReasonCustomerJournal(View.Reasons, number);
        }
        private async Task View_Loading()
        {
            if (Query?.Method != null)
            {
                await Query?.Invoke();
            }
            else
            {
                View.Number = await GetGenerateNumber();

                _optionsCustomerJournal = new OptionCustomerJournal(View.Options, View.Number);
                _reasonsCustomerJournal = new ReasonCustomerJournal(View.Reasons, View.Number);
            }

            await _optionsCustomerJournal.Update();

            await _reasonsCustomerJournal.Update();
        }