Adding of archive items is mostly operational. Need to handle file upload
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user