24 lines
785 B
C#
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);
|
|
}
|
|
}
|