using System.Collections.Generic;
using System.Threading.Tasks;
using Schaad.Accounting.Datasets.Analytics;
namespace Schaad.Accounting.Interfaces
{
///
/// Read-only access to any year of a mandator, independent of the year selected in the header.
///
public interface IMultiYearRepository
{
///
/// Years that have a data folder for the mandator, ascending.
///
IReadOnlyList GetYears(string mandator);
Task GetYearDataAsync(string mandator, int year);
}
}