public async Task <ActionResult> Get([FromQuery] SearchCustomerSubscription searchCustomerSubscription) { var listCustomerSubscription = await _customerSubscriptionService.GetCustomerSubscription(searchCustomerSubscription); return(Ok(listCustomerSubscription)); }
public async Task <IEnumerable <CustomerSubscriptionDerivedModel> > GetCustomerSubscription(SearchCustomerSubscription searchCustomerSubscription) { return(await _customerSubscriptionRepository.GetCustomerSubscription(searchCustomerSubscription)); }
public async Task <IEnumerable <CustomerSubscriptionDerivedModel> > GetCustomerSubscription(SearchCustomerSubscription searchCustomerSubscription) { return(await Query <CustomerSubscriptionDerivedModel>("Crm.GetCustomerSubscriptions", searchCustomerSubscription)); }