20 lines
442 B
C#
20 lines
442 B
C#
using LibraryDataModels.Dtos;
|
|
using LibraryDataModels.Views;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LibraryContracts.StorageContracts
|
|
{
|
|
public interface IBookStorage
|
|
{
|
|
List<BookView> GetFullList();
|
|
BookView? GetElement(BookDto model);
|
|
BookView? Insert(BookDto model);
|
|
BookView? Update(BookDto model);
|
|
BookView? Delete(BookDto model);
|
|
}
|
|
}
|