2024-11-08 21:29:34 +04:00
|
|
|
|
using ProjectTourAgency.Enities;
|
|
|
|
|
using ProjectTourAgency.Repositories;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ProjectTourAgency.Implementations;
|
|
|
|
|
|
2024-11-09 00:22:49 +04:00
|
|
|
|
public class TourRepositiry : ITourRepository
|
2024-11-08 21:29:34 +04:00
|
|
|
|
{
|
2024-11-09 00:22:49 +04:00
|
|
|
|
public void CreateTour(Tour tour)
|
2024-11-08 21:29:34 +04:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void DeleteTour(int id)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Tour ReadTourById(int id)
|
|
|
|
|
{
|
2024-11-09 00:22:49 +04:00
|
|
|
|
return Tour.CreateEntity(0, string.Empty, DateTime.Now, string.Empty, 0,0);
|
2024-11-08 21:29:34 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<Tour> ReadTours()
|
|
|
|
|
{
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void UpdateTour(Tour tour)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|