Adding cart/basket support and applicationuser (without EF requirement)
This commit is contained in:
18
src/ApplicationCore/Interfaces/IBasketService.cs
Normal file
18
src/ApplicationCore/Interfaces/IBasketService.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using ApplicationCore.Entities;
|
||||
using Microsoft.eShopWeb.ApplicationCore.Entities;
|
||||
using System.Security.Principal;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ApplicationCore.Interfaces
|
||||
{
|
||||
public interface IBasketService
|
||||
{
|
||||
Task<Basket> GetBasket(ApplicationUser user);
|
||||
}
|
||||
|
||||
public interface IIdentityParser<T>
|
||||
{
|
||||
T Parse(IPrincipal principal);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user