Exemplo n.º 1
0
        private static async Task <ObjectResult> GetPaymentTransactionDetails(IListAllPayments listPaymentsUseCase, string tenancyRef)
        {
            var controller = new TenanciesController(null, null, listPaymentsUseCase, null);
            var result     = await controller.PaymentTransactionDetails(tenancyRef);

            return(result as OkObjectResult);
        }
Exemplo n.º 2
0
 public TenanciesController(IListTenancies listTenancies, IListAllArrearsActions listAllArrearsActions,
                            IListAllPayments listAllPayments, ITenancyDetailsForRef tenancyDetailsForRef)
 {
     this.listTenancies         = listTenancies;
     this.listAllArrearsActions = listAllArrearsActions;
     this.listAllPayments       = listAllPayments;
     this.tenancyDetailsForRef  = tenancyDetailsForRef;
 }