add openhack files
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Simulator.DataStore.Abstractions
|
||||
{
|
||||
public interface IBaseStore<T>
|
||||
{
|
||||
Task InitializeStoreAsync();
|
||||
|
||||
Task<T> GetItemAsync(string id);
|
||||
|
||||
Task<IEnumerable<T>> GetItemsAsync();
|
||||
|
||||
Task<bool> CreateItemAsync(T item);
|
||||
|
||||
Task<bool> UpdateItemAsync(T item);
|
||||
|
||||
Task<bool> DeleteItemAsync(T item);
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Reference in New Issue
Block a user