public IEnumerable <PaymentDetail> getAllCategory()
 {
     try
     {
         return(_mapper.Map <IEnumerable <PaymentDetail> >(_paymentRepository.getAllPaymentDetail()));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
        public void getAllCategory()
        {
            IEnumerable <PaymentDetail> categories = _paymentDetailRepository.getAllPaymentDetail();

            Assert.True(categories != null, "failed");
        }