public List <PaymentMethodDAO> GetPaymentMethods() { var paymentMethods = new List <PaymentMethodDAO>(); foreach (var pm in db.GetPaymentMethods()) { paymentMethods.Add(DataMapper.MapToPaymentMethodDAO(pm)); } return(paymentMethods); }