PIbd-23_Sergunov_M.A._SUBD/BookShop/BookShopContracts/BusinessLogicsContracts/IBookLogic.cs

24 lines
598 B
C#
Raw Normal View History

using BookShopContracts.BindingModels;
using BookShopContracts.SearchModels;
using BookShopContracts.ViewModels;
namespace BookShopContracts.BusinessLogicsContracts
{
public interface IBookLogic
{
List<BookViewModel>? ReadList(BookSearchModel? model);
BookViewModel? ReadElement(BookSearchModel model);
bool Create(BookBindingModel model);
bool Update(BookBindingModel model);
bool Delete(BookBindingModel model);
string TestInsertList(int num);
string TestReadList(int num);
}
}