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 IGenreLogic
|
|
|
|
|
{
|
|
|
|
|
List<GenreViewModel>? ReadList(GenreSearchModel? model);
|
|
|
|
|
GenreViewModel? ReadElement(GenreSearchModel model);
|
|
|
|
|
bool Create(GenreBindingModel model);
|
|
|
|
|
bool Update(GenreBindingModel model);
|
|
|
|
|
bool Delete(GenreBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|