PIbd-23-Nasyrov-A.G.-Flower.../FlowerShopContracts/StoragesContracts/IFlowerStorage.cs

22 lines
695 B
C#
Raw Normal View History

2024-02-08 16:12:43 +04:00
using FlowerShopContracts.BindingModels;
using FlowerShopContracts.SearchModels;
using FlowerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlowerShopContracts.StoragesContracts
{
public interface IFlowerStorage
{
List<FlowerViewModel> GetFullList();
List<FlowerViewModel> GetFilteredList(FlowerSearchModel model);
FlowerViewModel? GetElement(FlowerSearchModel model);
FlowerViewModel? Insert(FlowerBindingModel model);
FlowerViewModel? Update(FlowerBindingModel model);
FlowerViewModel? Delete(FlowerBindingModel model);
}
}