C# Class ExampleWebShop.Controllers.Repository

Show file Open project: PaysonAktiebolag/api-integration-dotnet Class Usage Examples

Public Methods

Method Description
GetPurchaseState ( string orderGuid ) : ExampleWebShop.Models.PurchaseState
Repository ( System.Web.HttpContextBase context ) : System
SavePurchaseState ( ExampleWebShop.Models.PurchaseState state ) : void

Method Details

GetPurchaseState() public method

public GetPurchaseState ( string orderGuid ) : ExampleWebShop.Models.PurchaseState
orderGuid string
return ExampleWebShop.Models.PurchaseState

Repository() public method

public Repository ( System.Web.HttpContextBase context ) : System
context System.Web.HttpContextBase
return System

SavePurchaseState() public method

public SavePurchaseState ( ExampleWebShop.Models.PurchaseState state ) : void
state ExampleWebShop.Models.PurchaseState
return void