C# Class AdventureWorks.WebServices.Controllers.PaymentMethodController

Inheritance: ApiController
显示文件 Open project: PrismLibrary/Prism-Samples-Windows

Public Methods

Method Description
PaymentMethodController ( ) : System.Collections.Generic
PaymentMethodController ( IPaymentMethodRepository paymentMethodRepository ) : System.Collections.Generic

Private Methods

Method Description
GetAll ( ) : IEnumerable
PostAddress ( PaymentMethod paymentMethod ) : HttpResponseMessage
Put ( string defaultPaymentMethodId ) : HttpResponseMessage

Method Details

PaymentMethodController() public method

public PaymentMethodController ( ) : System.Collections.Generic
return System.Collections.Generic

PaymentMethodController() public method

public PaymentMethodController ( IPaymentMethodRepository paymentMethodRepository ) : System.Collections.Generic
paymentMethodRepository IPaymentMethodRepository
return System.Collections.Generic