SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IPlaceStorage.cs

23 lines
676 B
C#
Raw Normal View History

2024-03-26 20:35:34 +04:00
using SushiBarContracts.BindingModels;
using SushiBarContracts.SearchModels;
2024-03-26 19:41:39 +04:00
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);
2024-03-26 20:35:34 +04:00
PlaceViewModel? Insert(PlaceBindingModel model);
PlaceViewModel? Update(PlaceBindingModel model);
PlaceViewModel? Delete(PlaceBindingModel model);
2024-03-26 19:41:39 +04:00
}
}