Basic DB service loose implementation (no DI)

This commit is contained in:
mahdium committed 2025-01-29 23:36:57 +03:30
1 parent c620844b36
commit 07feac2f65
7 files changed
+106

No files matched your search

+13
View File
@@ -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);
}