PIbd-23_Nevaeva_K.A._Travel.../TravelCompany/TravelCompanyContracts/BusinessLogicsContracts/ITravelLogic.cs

21 lines
626 B
C#
Raw Normal View History

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);
}
}