22 lines
727 B
C#
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);
|
|||
|
}
|
|||
|
}
|