Got the new ui flow working and the models updated. Need to get changes written to the database.

This commit is contained in:
Vincent Allen
2025-08-11 10:02:45 -04:00
parent a28663441e
commit dd3968f6ef
456 changed files with 17237 additions and 3851 deletions

View File

@@ -0,0 +1,21 @@
namespace OpenArchival.DataAccess;
public interface IArchiveCategoryProvider
{
public Task CreateCategoryAsync(ArchiveCategory category);
public Task UpdateCategoryAsync(ArchiveCategory category);
public Task DeleteCategoryAsync(ArchiveCategory category);
public Task<ArchiveCategory?> GetArchiveCategory(int id);
public Task<List<ArchiveCategory>?> GetArchiveCategory(string categoryName);
public Task<List<ArchiveCategory>?> GetAllArchiveCategories();
public Task<List<ArchiveCategory>?> Search(string query);
public Task<List<ArchiveCategory>?> Top(int count);
}