mirror of
https://github.com/NecroticBamboo/DeepTrace.git
synced 2025-12-21 11:21:51 +00:00
16 lines
385 B
C#
16 lines
385 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoDB.Bson;
|
|
using DeepTrace.Data;
|
|
using System.Text;
|
|
|
|
namespace DeepTrace.Services;
|
|
|
|
|
|
public interface IModelStorageService
|
|
{
|
|
Task Delete(ModelDefinition source, bool ignoreNotStored = false);
|
|
Task<List<ModelDefinition>> Load();
|
|
Task<ModelDefinition?> Load(BsonObjectId id);
|
|
Task Store(ModelDefinition source);
|
|
}
|