예제 #1
0
        public async Task <IEnumerable <SubscriptionPlanResource> > GetAllAsync()
        {
            var suscriptionPlan = await _suscriptionPlanService.ListAsync();

            var Resource = _mapper.Map <IEnumerable <SubscriptionPlan>, IEnumerable <SubscriptionPlanResource> >(suscriptionPlan);

            return(Resource);
        }
예제 #2
0
        public async Task <IEnumerable <SubscriptionPlan> > GetAllAsync()
        {
            var suscriptionPlan = await _suscriptionPlanService.ListAsync();

            return(suscriptionPlan);
        }