using MagicCarpetContracts.DataModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicCarpetContracts.StoragesContracts; internal interface ITourStorageContract { List GetList(); List GetHistoryByTourId(string tourId); Task> GetHistoriesListAsync(CancellationToken ct); TourDataModel? GetElementById(string id); TourDataModel? GetElementByName(string name); void AddElement(TourDataModel tourDataModel); void UpdElement(TourDataModel tourDataModel); void DelElement(string id); }