SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IPlaceStorage.cs

22 lines
634 B
C#
Raw Normal View History

2024-03-26 19:41:39 +04:00
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);
}
}