Exemplo n.º 1
0
        public void ShowEditClientDebt(IFormFactory formFactory,
                                       IClientDebtRepository clientDebtRepository,
                                       int debtId,
                                       IMainController mainController)
        {
            IEditClientDebtForm form = formFactory.CreateEditClientDebtForm();

            ClientDebt clientDebt = clientDebtRepository.GetClientDebtWithId(debtId);

            form.ShowModal(mainController, clientDebt);
        }