Computer_Hardware_Store/HardwareShop/HardwareShopContracts/BuisnessLogicsContracts/IGoodLogic.cs

16 lines
490 B
C#

using HardwareShopContracts.BindingModels;
using HardwareShopContracts.SearchModels;
using HardwareShopContracts.ViewModels;
namespace HardwareShopContracts.BuisnessLogicsContracts
{
public interface IGoodLogic
{
List<GoodViewModel>? ReadList(GoodSearchModel? model);
GoodViewModel? ReadElement(GoodSearchModel model);
bool Create(GoodBindingModel model);
bool Update(GoodBindingModel model);
bool Delete(GoodBindingModel model);
}
}