Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 711 Bytes

database-service.md

File metadata and controls

23 lines (15 loc) · 711 Bytes
description
A service which handles storing of the Basket in the database

Database Service

The database service is what handles the retrieval of the UmbCheckout Basket within the database.

You can access the database service by injecting IDatabaseService which can be found within the namespaceUmbCheckout.Core.Interfaces

GetBasket

The gets the stored Basket

Parameters:

Name Detail
sessionId The session to retrieve the Basket for
Task<Basket?> GetBasket(string sessionId);