20 lines
518 B
C#
20 lines
518 B
C#
using BookShopContracts.BindingModels;
|
|
using BookShopContracts.SearchModels;
|
|
using BookShopContracts.ViewModels;
|
|
|
|
namespace BookShopContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IGenreLogic
|
|
{
|
|
List<GenreViewModel>? ReadList(GenreSearchModel? model);
|
|
|
|
GenreViewModel? ReadElement(GenreSearchModel model);
|
|
|
|
bool Create(GenreBindingModel model);
|
|
|
|
bool Update(GenreBindingModel model);
|
|
|
|
bool Delete(GenreBindingModel model);
|
|
}
|
|
}
|