22 lines
528 B
C#
22 lines
528 B
C#
using Contracts.BindingModels;
|
|
using Contracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contracts.StorageContracts
|
|
{
|
|
public interface IBookStorage
|
|
{
|
|
List<BookViewModel> GetFullList();
|
|
List<BookViewModel> GetFilteredList(BookBindingModel model);
|
|
BookViewModel GetElement(BookBindingModel model);
|
|
|
|
void Insert(BookBindingModel model);
|
|
void Update(BookBindingModel model);
|
|
void Delete(BookBindingModel model);
|
|
}
|
|
}
|