2023-04-06 14:34:58 +04:00
|
|
|
|
using CanteenContracts.BindingModels;
|
|
|
|
|
using CanteenContracts.SearchModel;
|
|
|
|
|
using CanteenContracts.View;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CanteenContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IVisitorLogic
|
|
|
|
|
{
|
|
|
|
|
List<VisitorViewModel>? ReadList(VisitorSearchModel? model);
|
|
|
|
|
VisitorViewModel? ReadElement(VisitorSearchModel model);
|
|
|
|
|
bool Create(VisitorBindingModel model);
|
|
|
|
|
bool Update(VisitorBindingModel model);
|
2023-06-21 19:25:26 +04:00
|
|
|
|
bool SendMail(MailSendInfoBindingModel emailInfo);
|
2023-04-06 14:34:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|