2023-04-01 16:33:03 +04:00
|
|
|
|
using HardwareShopContracts.BindingModels;
|
|
|
|
|
using HardwareShopContracts.SearchModels;
|
|
|
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
|
|
2023-05-16 17:54:45 +04:00
|
|
|
|
namespace HardwareShopContracts.BusinessLogicsContracts
|
2023-04-01 16:33:03 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IGoodLogic
|
|
|
|
|
{
|
|
|
|
|
List<GoodViewModel>? ReadList(GoodSearchModel? model);
|
|
|
|
|
GoodViewModel? ReadElement(GoodSearchModel model);
|
|
|
|
|
bool Create(GoodBindingModel model);
|
|
|
|
|
bool Update(GoodBindingModel model);
|
|
|
|
|
bool Delete(GoodBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|