Newer
Older
using FitConnect.Services;
using FitConnect.Services.Interfaces;
using Microsoft.Extensions.Logging;
namespace FitConnect;
public class Router : IRouter {
public Router(FitConnectEnvironment environment, ILogger logger = null) {
RouteService = new RouteService(environment.RoutingUrl, "v1", logger: logger);
public async Task<List<FitConnect.Services.Models.v1.Routes.Route>> FindDestinationsAsync(string leiaKey, string? ags = null,
string? areaId = null) => await RouteService.GetDestinationIdAsync(leiaKey, ags, ars, areaId);