using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace CoviDok.BLL.Storage
{
    // Interface for namespaced storage
    interface IStorageProvider
    {
        public Task<bool> NamespaceExists(string ns);
        public Task CreateNamespace(string ns);
        public Task Upload(string ns, string objectname, Stream data, long size);
        public Task Download(string ns, string objectname, Action<Stream> callback);
    }
}