22 lines
586 B
C#
22 lines
586 B
C#
using DinerContracts.BindingModels;
|
|
using DinerContracts.SearchModels;
|
|
using DinerContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DinerContracts.BusinessLogicsContacts
|
|
{
|
|
public interface ISnackLogic
|
|
{
|
|
List<SnackViewModel>? ReadList(SnackSearchModel? model);
|
|
SnackViewModel? ReadElement(SnackSearchModel model);
|
|
|
|
bool Create(SnackBindingModel model);
|
|
bool Update(SnackBindingModel model);
|
|
bool Delete(SnackBindingModel model);
|
|
}
|
|
}
|