using System.Collections.Generic;
using System.Threading.Tasks;
using XplorePlane.Models;

namespace XplorePlane.Services
{
    public interface IPipelinePersistenceService
    {
        Task SaveAsync(PipelineModel pipeline, string filePath);
        Task<PipelineModel> LoadAsync(string filePath);
        Task<IReadOnlyList<PipelineModel>> LoadAllAsync(string directory);
    }
}
