private static async Task <ObjectResult> GetArrearsActionsDetails(IListAllArrearsActions listActionDiaryUseCase,
                                                                          string tenancyRef)
        {
            var controller = new TenanciesController(null, listActionDiaryUseCase, null, null);
            var result     = await controller.GetActionDiaryDetails(tenancyRef);

            return(result as OkObjectResult);
        }
コード例 #2
0
 public TenanciesController(IListTenancies listTenancies, IListAllArrearsActions listAllArrearsActions,
                            IListAllPayments listAllPayments, ITenancyDetailsForRef tenancyDetailsForRef)
 {
     this.listTenancies         = listTenancies;
     this.listAllArrearsActions = listAllArrearsActions;
     this.listAllPayments       = listAllPayments;
     this.tenancyDetailsForRef  = tenancyDetailsForRef;
 }