Пример #1
0
 private IQueryable <Charge> GetCharges()
 {
     return(_stripeService.GetCharges().Select(
                c => new Charge
     {
         Currency = c.Currency,
         Customer = c.Customer.Description,
         CustomerEmail = c.Customer.Email,
         DonationDescription = c.Description,
         DonatedOn = c.Created
     }).AsQueryable());
 }