22 lines
578 B
C#
22 lines
578 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 IFoodLogic
|
|
{
|
|
List<FoodViewModel>? ReadList(FoodSearchModel? model);
|
|
FoodViewModel? ReadElement(FoodSearchModel model);
|
|
|
|
bool Create(FoodBindingModel model);
|
|
bool Update(FoodBindingModel model);
|
|
bool Delete(FoodBindingModel model);
|
|
}
|
|
}
|