PIbd-22_Safiulova_K.N._Airc.../AircraftPlant/AircraftPlantContracts»/BusinessLogicsContracts/IShopLogic.cs
2024-05-05 14:10:57 +04:00

24 lines
785 B
C#

using AircraftPlantContracts.BindingModels;
using AircraftPlantDataModels.Models;
using AircraftPlantContracts.SearchModels;
using AircraftPlantContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.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 AddPlaneInShop(ShopSearchModel model, IPlaneModel plane, int count);
bool SellPlanes(IPlaneModel plane, int count);
}
}