23 lines
626 B
C#
23 lines
626 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 IPlaceLogic
|
|
{
|
|
List<PlaceViewModel>? ReadList(PlaceSearchModel? model);
|
|
PlaceViewModel? ReadElement(PlaceSearchModel model);
|
|
|
|
bool Create(PlaceBindingModel model);
|
|
bool Update(PlaceBindingModel model);
|
|
bool Delete(PlaceBindingModel model);
|
|
void ClearEntity();
|
|
}
|
|
}
|