using adas_core.Domain.Models.MongoModels;

namespace adas_core.Application.Services.Interfaces;

public interface IServiceConfigService
{
    /// <summary>
    /// Asynchronously retrieves a <see cref="ServiceConfig"/> by its identifier, returning <c>null</c> if no matching configuration is found.
    /// </summary>
    /// <param name="id">The identifier of the service configuration to retrieve.</param>
    /// <returns>A task that represents the asynchronous operation. The task result contains the matching <see cref="ServiceConfig"/> if found, or <c>null</c> if no configuration exists for the given identifier.</returns>
    Task<ServiceConfig?> Get(string id);
}