using System.Dynamic; using Microsoft.AspNetCore.Mvc; using SharedModels.QueryParameters; using SharedModels.QueryParameters.Statistics; namespace Server.Services; public interface IStatisticsService { Task<(bool IsSucceed, IActionResult? actionResult, IEnumerable route, PagingMetadata pagingMetadata)> GetPopularRoutes(PopularRoutesParameters parameters); Task<(bool IsSucceed, IActionResult? actionResult, IEnumerable users, PagingMetadata pagingMetadata)> GetEngagedUsers(EngagedUserParameters parameters); Task<(bool IsSucceed, IActionResult? actionResult, IEnumerable companies, PagingMetadata pagingMetadata)> GetPopularCompanies(PopularCompanyParameters parameters); Task<(bool IsSucceed, IActionResult? actionResult, IEnumerable stations, PagingMetadata pagingMetadata)> GetPopularStations(PopularAddressesParameters parameters); }