Basic DB service loose implementation (no DI)
This commit is contained in:
1 parent
c620844b36
commit
07feac2f65
7 files changed
+106
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using TBDel.Models;
|
||||
|
||||
namespace TBDel.Interface;
|
||||
|
||||
public interface IDbService
|
||||
{
|
||||
Task<Boolean> AddFileEntryAsync(FileEntry entry);
|
||||
Task<Boolean> AddFolderEntryAsync(FolderEntry entry);
|
||||
Task<List<FileEntry>> GetFileEntriesAsync();
|
||||
Task<List<FolderEntry>> GetFolderEntriesAsync();
|
||||
Task<Boolean> RemoveFileEntryAsync(string path);
|
||||
Task<Boolean> RemoveFolderEntryAsync(string path);
|
||||
}
|
||||
Reference in new issue
Block a user