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

23 lines
668 B
C#

using BookShopContracts.BindingModels;
using BookShopContracts.SearchModels;
using BookShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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);
}
}