Files
adas-core/adas-core.Application/Services/Interfaces/IServiceConfigService.cs
T

14 lines
714 B
C#

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>
/// <!-- aidoc:v1 sig=86fa8c8 -->
Task<ServiceConfig?> Get(string id);
}