23 lines
618 B
C#
23 lines
618 B
C#
using SushiBarContracts.BindingModels;
|
|
using SushiBarContracts.SearchModels;
|
|
using SushiBarContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SushiBarContracts.BusinessLogicContracts
|
|
{
|
|
public interface IMenuLogic
|
|
{
|
|
List<MenuViewModel>? ReadList(MenuSearchModel? model);
|
|
MenuViewModel? ReadElement(MenuSearchModel model);
|
|
|
|
bool Create(MenuBindingModel model);
|
|
bool Update(MenuBindingModel model);
|
|
bool Delete(MenuBindingModel model);
|
|
void ClearEntity();
|
|
}
|
|
}
|