public async Task <IEnumerable <CustomerSubscriptionPlanbyIdDrivedModel> > GetCustomerSubscriptionPlanbyId(CustomerSubscriptionPlansByIdModel customerSubscriptionPlansByIdModel) { return(await _customerSubscriptionPlanRepository.GetCustomerSubscriptionPlanbyId(customerSubscriptionPlansByIdModel)); }
public async Task <IEnumerable <CustomerSubscriptionPlanbyIdDrivedModel> > GetCustomerSubscriptionPlanbyId(CustomerSubscriptionPlansByIdModel customerSubscriptionPlansByIdModel) { return(await Query <CustomerSubscriptionPlanbyIdDrivedModel>("Crm.GetCustomerSubscriptionPlanById", customerSubscriptionPlansByIdModel)); }
public async Task <ActionResult> Get([FromQuery] CustomerSubscriptionPlansByIdModel customerSubscriptionPlansByIdModel) { var listCustomerSubscriptionPlanbyId = await _customerSubscriptionPlanService.GetCustomerSubscriptionPlanbyId(customerSubscriptionPlansByIdModel); return(Ok(listCustomerSubscriptionPlanbyId)); }