C# Class AdventureWorks.WebServices.Repositories.PaymentMethodRepository

Inheritance: IPaymentMethodRepository
Show file Open project: PrismLibrary/Prism-Samples-Windows

Public Methods

Method Description
AddUpdate ( string userName, PaymentMethod paymentMethod ) : void
GetAll ( string userName ) : IEnumerable
Reset ( ) : void
SetDefault ( string userName, string defaultPaymentMethodId ) : void

Method Details

AddUpdate() public method

public AddUpdate ( string userName, PaymentMethod paymentMethod ) : void
userName string
paymentMethod AdventureWorks.WebServices.Models.PaymentMethod
return void

GetAll() public method

public GetAll ( string userName ) : IEnumerable
userName string
return IEnumerable

Reset() public static method

public static Reset ( ) : void
return void

SetDefault() public method

public SetDefault ( string userName, string defaultPaymentMethodId ) : void
userName string
defaultPaymentMethodId string
return void