Adding of archive items is mostly operational. Need to handle file upload
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OpenArchival.Database;
|
||||
|
||||
public interface IArchiveStorageLocationProvider
|
||||
{
|
||||
public Task<bool> ContainsLocation(string location);
|
||||
|
||||
public Task<bool> AddLocation(string location);
|
||||
|
||||
public Task<bool> RemoveLocation(string location);
|
||||
|
||||
public Task<IEnumerable<string>> SearchLocations(string query);
|
||||
|
||||
public Task<IEnumerable<string>> TopLocations(int resultCount);
|
||||
}
|
||||
Reference in New Issue
Block a user