23 lines
676 B
C#
23 lines
676 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.StoragesContracts
|
|
{
|
|
public interface IPlaceStorage
|
|
{
|
|
List<PlaceViewModel> GetFullList();
|
|
List<PlaceViewModel> GetFilteredList(PlaceSearchModel model);
|
|
|
|
PlaceViewModel? GetElement(PlaceSearchModel model);
|
|
PlaceViewModel? Insert(PlaceBindingModel model);
|
|
PlaceViewModel? Update(PlaceBindingModel model);
|
|
PlaceViewModel? Delete(PlaceBindingModel model);
|
|
}
|
|
}
|