public async Task <IEnumerable <CustomerSubscriptionPlanbyIdDrivedModel> > GetCustomerSubscriptionPlanbyId(CustomerSubscriptionPlansByIdModel customerSubscriptionPlansByIdModel)
 {
     return(await _customerSubscriptionPlanRepository.GetCustomerSubscriptionPlanbyId(customerSubscriptionPlansByIdModel));
 }
예제 #2
0
 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));
        }