forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
20 lines
581 B
C#
20 lines
581 B
C#
using MagicCarpetContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.StoragesContracts;
|
|
|
|
public interface ITourStorageContract
|
|
{
|
|
List<TourDataModel> GetList();
|
|
List<TourHistoryDataModel> GetHistoryByTourId(string tourId);
|
|
TourDataModel? GetElementById(string id);
|
|
TourDataModel? GetElementByName(string name);
|
|
void AddElement(TourDataModel tourDataModel);
|
|
void UpdElement(TourDataModel tourDataModel);
|
|
void DelElement(string id);
|
|
}
|