PIbd-21_Anisin_R.S._CarRepa.../CarRepairShop/CarRepairShopContracts/BusinessLogicsContracts/IShopLogic.cs
2024-04-27 22:23:26 +04:00

24 lines
677 B
C#

using CarRepairShopContracts.BindingModels;
using CarRepairShopContracts.SearchModels;
using CarRepairShopContracts.ViewModels;
using CarRepairShopDataModels.Models;
namespace CarRepairShopContracts.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 MakeShipment(ShopSearchModel shopModel, IRepairModel Repair, int count);
bool MakeSale(IRepairModel model, int count);
}
}