PIbd-23_Nevaeva_K.A._Travel.../TravelCompany/TravelCompanyContracts/BusinessLogicsContracts/ITravelLogic.cs
2023-02-20 08:36:19 +04:00

21 lines
626 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelCompanyContracts.BindingModels;
using TravelCompanyContracts.SearchModels;
using TravelCompanyContracts.ViewModels;
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);
}
}