PIbd-23-Salin-O.A.-IceCream.../IceCreamShop/IceCreamShopContracts/StoragesContracts/IIceCreamStorage.cs
2024-02-05 21:23:00 +04:00

22 lines
727 B
C#

using IceCreamShopContracts.BindingModels;
using IceCreamShopContracts.SearchModels;
using IceCreamShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IceCreamShopContracts.StoragesContracts
{
public interface IIceCreamStorage
{
List<IceCreamViewModel> GetFullList();
List<IceCreamViewModel> GetFilteredList(IceCreamSearchModel model);
IceCreamViewModel? GetElement(IceCreamSearchModel model);
IceCreamViewModel? Insert(IceCreamBindingModel model);
IceCreamViewModel? Update(IceCreamBindingModel model);
IceCreamViewModel? Delete(IceCreamBindingModel model);
}
}