PIbd-22_Safiulova_K.N._Airc.../AircraftPlant/AircraftPlantContracts»/BusinessLogicsContracts/IShopLogic.cs

24 lines
785 B
C#
Raw Normal View History

2024-03-13 11:16:22 +04:00
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);
2024-05-05 14:10:57 +04:00
bool SellPlanes(IPlaneModel plane, int count);
2024-03-13 11:16:22 +04:00
}
}