22 lines
622 B
C#
22 lines
622 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 ICookStorage
|
|||
|
{
|
|||
|
List<CookViewModel> GetFullList();
|
|||
|
List<CookViewModel> GetFilteredList(CookSearchModel model);
|
|||
|
|
|||
|
CookViewModel? GetElement(CookSearchModel model);
|
|||
|
CookViewModel? Insert(CookSearchModel model);
|
|||
|
CookViewModel? Update(CookSearchModel model);
|
|||
|
CookViewModel? Delete(CookSearchModel model);
|
|||
|
}
|
|||
|
}
|