Ejemplo n.º 1
0
 public object FindById(Int32 id)
 {
     using (BookMarketDbContext db = new BookMarketDbContext())
     {
         var items = db.FindPaymentById(id);
         var item = items.FirstOrDefault();
         return item;
     }
 }