public void ShowEditClientDebt(IFormFactory formFactory, IClientDebtRepository clientDebtRepository, int debtId, IMainController mainController) { IEditClientDebtForm form = formFactory.CreateEditClientDebtForm(); ClientDebt clientDebt = clientDebtRepository.GetClientDebtWithId(debtId); form.ShowModal(mainController, clientDebt); }