Adding of archive items is mostly operational. Need to handle file upload

This commit is contained in:
Vincent Allen
2025-07-29 16:16:42 -04:00
parent 167a8f6fc6
commit a28663441e
158 changed files with 2628 additions and 801 deletions

View File

@@ -1,4 +1,6 @@
namespace OpenArchival.Database.Category;
using OpenArchival.Core;
namespace OpenArchival.Database;
public interface ICategoryProvider
{
@@ -6,6 +8,10 @@ public interface ICategoryProvider
public Task<int?> GetCategoryId(string categoryName);
public Task<IEnumerable<Category>> TopCategories(int numResults);
public Task<IEnumerable<Category>> SearchCategories(string searchQuery);
public Task<int> InsertCategoryAsync(Category category);
public Task<int> UpdateCategoryAsync(string categoryName, Category category);