public async Task <IEnumerable <SubscriptionPlanResource> > GetAllAsync() { var suscriptionPlan = await _suscriptionPlanService.ListAsync(); var Resource = _mapper.Map <IEnumerable <SubscriptionPlan>, IEnumerable <SubscriptionPlanResource> >(suscriptionPlan); return(Resource); }
public async Task <IEnumerable <SubscriptionPlan> > GetAllAsync() { var suscriptionPlan = await _suscriptionPlanService.ListAsync(); return(suscriptionPlan); }