25 lines
707 B
C#
Raw Normal View History

2024-05-01 21:35:57 +04:00
using MotorPlantContracts.BindingModels;
using MotorPlantContracts.SearchModels;
using MotorPlantContracts.ViewModels;
using MotorPlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MotorPlantContracts.BusinessLogicsContracts
{
2024-05-05 21:43:24 +04:00
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 Sale(SupplySearchModel model);
bool MakeSupply(ShopSearchModel model, IEngineModel engine, int count);
}
2024-05-01 21:35:57 +04:00
}