2023-03-19 12:11:25 +04:00

22 lines
679 B
C#

using AbstractShopContracts.BindingModels;
using AbstractShopContracts.SearchModels;
using AbstractShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractShopContracts.StoragesContracts
{
public interface IFoodStorage
{
List<FoodViewModel> GetFullList();
List<FoodViewModel> GetFilteredList(FoodSearchModel model);
FoodViewModel? GetElement(FoodSearchModel model);
FoodViewModel? Insert(FoodBindingModel model);
FoodViewModel? Update(FoodBindingModel model);
FoodViewModel? Delete(FoodBindingModel model);
}
}