public List <PaymentTypeDTO> GetPaymentTypes() { var returnList = new List <PaymentTypeDTO>(); foreach (var item in pssc.GetPaymentTypes()) { returnList.Add(PaymentTypeMapper.MapToDTO(item)); } return(returnList); }
public PaymentTypeDTO GetPaymentType(int id) { return(PaymentTypeMapper.MapToDTO(pssc.GetPaymentType(id))); }