public List <AsForTableDto> GetPlanAmountTable(FilterPlanAmount filter) { if (filter.IdPlanPoste.HasValue) { List <PlanPosteReference> planPosteReferences = _planPosteReferenceService.GetByIdPlanPoste(filter.IdPlanPoste.Value); List <AsForTableDto> asForTableDto = _accountStatementService.GetByPlanPosteReferences(planPosteReferences, filter.MonthYear); return(asForTableDto); } return(null); }