2023-04-07 10:55:40 +04:00
|
|
|
|
using CanteenContracts.BindingModels;
|
|
|
|
|
using CanteenContracts.SearchModel;
|
|
|
|
|
using CanteenContracts.View;
|
|
|
|
|
using System;
|
2023-04-06 14:34:58 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CanteenContracts.StoragesContracts
|
|
|
|
|
{
|
2023-04-09 13:00:51 +04:00
|
|
|
|
public interface ITablewareStorage
|
2023-04-06 14:34:58 +04:00
|
|
|
|
{
|
2023-04-07 10:55:40 +04:00
|
|
|
|
List<TablewareViewModel> GetFullList();
|
|
|
|
|
List<TablewareViewModel> GetFilteredList(TablewareSearchModel model);
|
|
|
|
|
TablewareViewModel? GetElement(TablewareSearchModel model);
|
|
|
|
|
TablewareViewModel? Insert(TablewareBindingModel model);
|
|
|
|
|
TablewareViewModel? Update(TablewareBindingModel model);
|
|
|
|
|
TablewareViewModel? Delete(TablewareBindingModel model);
|
2023-04-06 14:34:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|