namespace EgwCoreLib.Lux.Data.Services.Utils
{
public interface ICounterService
{
///
/// Elenco contatori
///
/// Anno riferimento, se null da tutti
///
Task> GetAllAsync(int? yearRef = null);
///
/// Recupera un nuovo valore del contatore per tipo ed anno richiesto, se mancasse crea
///
/// Anno riferimento
/// Counter richiesto
///
Task GetNextAsync(int yearRef, string countName);
}
}