PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/BusinessLogicsContracts/ITravelLogic.cs

21 lines
626 B
C#
Raw Normal View History

2024-02-07 19:42:14 +04:00
using TravelCompanyContracts.BindingModels;
using TravelCompanyContracts.SearchModels;
using TravelCompanyContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelCompanyContracts.BusinessLogicsContracts
{
public interface ITravelLogic
{
List<TravelViewModel>? ReadList(TravelSearchModel? model);
TravelViewModel? ReadElement(TravelSearchModel model);
bool Create(TravelBindingModel model);
bool Update(TravelBindingModel model);
bool Delete(TravelBindingModel model);
}
}