SUBD_Aleikin/Restaurant/RestaurantContracts/StoragesContracts/IComponentStorage.cs
Артём Алейкин e52b239c08 BusinessLogic,
Contracts,
DataModels,
View(пока пусто)
2023-05-02 22:51:41 +04:00

22 lines
731 B
C#

using RestaurantContracts.BindingModels;
using RestaurantContracts.SearchModels;
using RestaurantContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantContracts.StoragesContracts
{
public interface IComponentStorage
{
List<ComponentViewModel> GetFullList();
List<ComponentViewModel> GetFilteredList(ComponentSearchModel model);
ComponentViewModel? GetElement(ComponentSearchModel model);
ComponentViewModel? Insert(ComponentBindingModel model);
ComponentViewModel? Update(ComponentBindingModel model);
ComponentViewModel? Delete(ComponentBindingModel model);
}
}