Exemplo n.º 1
0
 public IHttpActionResult GetPaymentMethods([FromUri] Guid brandId)
 {
     return(Ok(new
     {
         PaymentMethods = _playerQueries.GetBankAccounts(brandId)
                          .Select(x => new
         {
             x.Id,
             Name = string.Format("Offline - {0}", x.AccountId)
         })
     }));
 }