public async Task <Result <PagedList <VCustomerInAffiliate> > > GetCustomerInAffiliateReport([FromBody] FilterBase filter)
        {
            var result = await _affiliateService.GetCustomerInAffiliateReport(filter);

            var toReturn = new PagedList <VCustomerInAffiliate>
            {
                Items = result.Items,
                Count = result.Count,
            };

            return(toReturn);
        }