props/Props/Services/Modules/IShopManager.cs
Harrison Deng 8a1e5aca15 Changed Shop interface to be more asynchronous.
Implemented changes in Props.

Implemented said changes in AdafruitShop.

Fixed and improved caching in AdafruitShop.
2021-08-11 23:54:52 -05:00

16 lines
440 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Props.Models.Search;
using Props.Shop.Framework;
namespace Props.Services.Modules
{
public interface IShopManager : IAsyncDisposable
{
public ValueTask<IEnumerable<string>> GetAllShopNames();
public ValueTask<IShop> GetShop(string name);
public ValueTask<IEnumerable<IShop>> GetAllShops();
}
}