using Microsoft.AspNetCore.Identity;
using Fengling.Platform.Domain.AggregatesModel.GatewayAggregate;
namespace Fengling.Platform.Infrastructure;
///
/// 路由管理器接口
///
public interface IRouteManager
{
Task FindByIdAsync(string? id, CancellationToken cancellationToken = default);
Task> GetAllAsync(CancellationToken cancellationToken = default);
Task CreateRouteAsync(GwRoute route, CancellationToken cancellationToken = default);
Task UpdateRouteAsync(GwRoute route, CancellationToken cancellationToken = default);
Task DeleteRouteAsync(GwRoute route, CancellationToken cancellationToken = default);
}