2023-05-12 12:08:11 +04:00
|
|
|
|
using BookShopContracts.BindingModels;
|
|
|
|
|
using BookShopContracts.SearchModels;
|
|
|
|
|
using BookShopContracts.ViewModels;
|
2023-05-13 14:30:05 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2023-05-12 12:08:11 +04:00
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|