23 lines
627 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
using HotelDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelContracts.BusinessLogicsContracts
{
public interface IParticipantLogic
{
List<ParticipantViewModel>? ReadList(ParticipantSearchModel? model);
ParticipantViewModel? ReadElement(ParticipantSearchModel? model);
bool Create(ParticipantBindingModel model);
bool Update(ParticipantBindingModel model);
bool Delete(ParticipantBindingModel model);
}
}