public async Task <IEnumerable <CustomerLifeTimeModel> > GetCustomerAverageSpending(SearchCustomerLTV searchCustomerLTV) { return(await Query <CustomerLifeTimeModel>("Crm.GetAverageSpendingPerCustomer", searchCustomerLTV)); }
public async Task <IEnumerable <CustomerLifeTimeModel> > GetCustomerAverageSpending(SearchCustomerLTV searchCustomerLTV) { return(await _customerSummaryRepository.GetCustomerAverageSpending(searchCustomerLTV)); }
public async Task <ActionResult> GetCustomerAverageSpending([FromQuery] SearchCustomerLTV searchCustomerLTV) { var listCustAverageSpending = await _customerSummaryService.GetCustomerAverageSpending(searchCustomerLTV); return(Ok(listCustAverageSpending)); }