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

23 lines
730 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);
}
}