SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IPlaceStorage.cs

22 lines
634 B
C#

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(PlaceSearchModel model);
PlaceViewModel? Update(PlaceSearchModel model);
PlaceViewModel? Delete(PlaceSearchModel model);
}
}