24 lines
598 B
C#
24 lines
598 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|