示例#1
0
        public void ShowClientDebts()
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            IViewClientDebtsForm form = formFactory.CreateViewClientDebtsForm();

            clientDebtController.ShowClientDebts(form, clientDebtRepository, this);
        }
示例#2
0
        public void RemoveClientDebtWithId(int debtId)
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            clientDebtController.RemoveClientDebtWithId(debtId, clientDebtRepository);
        }
示例#3
0
        public void EditClientDebtWithId(int debtId, ClientDebt clientDebt)
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            clientDebtController.EditClientDebtWithId(debtId, clientDebt, clientDebtRepository);
        }
示例#4
0
        public void AddClientDebt(ClientDebt clientDebt)
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            clientDebtController.AddClientDebt(clientDebt, clientDebtRepository);
        }
示例#5
0
        public void ShowEditClientDebt(int debtId)
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            clientDebtController.ShowEditClientDebt(formFactory, clientDebtRepository, debtId, this);
        }
示例#6
0
        public void ShowAddClientDebt()
        {
            ClientDebtController clientDebtController = new ClientDebtController();

            clientDebtController.ShowAddClientDebt(formFactory, clientRepository, this);
        }