Ejemplo n.º 1
0
        public async Task <IQueryable <PaymentDetails> > GetAll()
        {
            var result = await _paymentDetailsRepository.GetAll();

            return(result.AsQueryable());
        }
Ejemplo n.º 2
0
        public async Task <IEnumerable <PaymentDetailsVM> > FetchAllPaymentDetails()
        {
            var paymentDetails = await _paymentDetailsRepository.GetAll();

            return(_mapper.Map <IEnumerable <PaymentDetailsVM> >(paymentDetails));
        }