C# Class BistroDriveWebApp.Models.PaymentMethodRepository

Show file Open project: PI-13-5/BistroDriveWebApp

Public Methods

Method Description
GetPaymentMethodById ( int id ) : orderpaymentmethod
GetPaymentMethods ( ) : IEnumerable
PaymentMethodRepository ( BistroDriveEntities _context ) : System

Method Details

GetPaymentMethodById() public method

public GetPaymentMethodById ( int id ) : orderpaymentmethod
id int
return orderpaymentmethod

GetPaymentMethods() public method

public GetPaymentMethods ( ) : IEnumerable
return IEnumerable

PaymentMethodRepository() public method

public PaymentMethodRepository ( BistroDriveEntities _context ) : System
_context BistroDriveEntities
return System