PIBD_21_Basalov_A_D_Project.../project/ProjectTourAgency/Implementations/TourRepositiry.cs

36 lines
644 B
C#

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;
public class TourRepositiry : ITourRepository
{
public void CreateTour(Tour tour)
{
}
public void DeleteTour(int id)
{
}
public Tour ReadTourById(int id)
{
return Tour.CreateEntity(0, string.Empty, DateTime.Now, string.Empty, 0,0);
}
public IEnumerable<Tour> ReadTours()
{
return [];
}
public void UpdateTour(Tour tour)
{
}
}