PIbd-23-Nasyrov-A.G.-Flower.../FlowerShopContracts/BusinessLogicsContracts/IShopLogic.cs

24 lines
769 B
C#
Raw Normal View History

2024-02-14 22:27:41 +04:00
using FlowerShopContracts.BindingModels;
using FlowerShopContracts.SearchModels;
using FlowerShopContracts.ViewModels;
using FlowerShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlowerShopContracts.BusinessLogicsContracts
{
public interface IShopLogic
{
List<ShopViewModel>? ReadList(ShopSearchModel? model);
ShopViewModel? ReadElement(ShopSearchModel model);
bool Create(ShopBindingModel model);
bool Update(ShopBindingModel model);
bool Delete(ShopBindingModel model);
bool MakeSupply(ShopSearchModel model, IFlowerModel flower, int count);
2024-03-14 21:28:58 +04:00
bool MakeSell(IFlowerModel flower, int count);
2024-02-14 22:27:41 +04:00
}
}