public orderpaymentmethod GetPaymentMethodById(int id) { return context.orderpaymentmethods.FirstOrDefault(p => p.Id_PaymentMethod == id); }