// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FloraMultiPlatformFrontend.Presentation.Models.Diagnosis;

namespace FloraMultiPlatformFrontend.Data.Repositories.Interfaces;

/// <summary>
/// Repository interface for managing release configuration data
/// </summary>
public interface IReleaseConfigRepository
{
    /// <summary>
    /// Loads all release data from the configuration files
    /// </summary>
    /// <returns>List of all release data items</returns>
    Task<List<ReleaseDataConfiguration>> GetReleaseDataAsync();

    /// <summary>
    /// Loads release data filtered by group ID
    /// </summary>
    /// <param name="groupId">The group ID to filter by</param>
    /// <returns>List of release data items for the specified group</returns>
    Task<List<ReleaseDataConfiguration>> GetReleaseDataByGroupIdAsync(int groupId);


}
