Example #1
0
        public async Task <ICollection <PaymentMethod> > GetPaymentMethodList()
        {
            try
            {
                var res = await _repository.GetPaymentMethodList();

                return(res);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #2
0
 public PaymentMethodModel GetAddonesById(int PaymentMethodId)
 {
     return(_IPaymentMethodReportsitory.GetPaymentMethodList().Where(x => x.Id == PaymentMethodId).FirstOrDefault());
 }
        public IEnumerable <PaymentMethodDto> GetList()
        {
            var paymentMethodList = _paymentMethodRepository.GetPaymentMethodList();

            return(Mappers.PaymentMethodMapper.MapToDto(paymentMethodList));
        }