20 lines
547 B
C#
20 lines
547 B
C#
|
using BookContract.BindingModels;
|
|||
|
using BookContract.ViewModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace BookContract.StorageContracts
|
|||
|
{
|
|||
|
public interface IHistoryStorage
|
|||
|
{
|
|||
|
HistoryViewModel GetElement(HistoryBindingModel model);
|
|||
|
List<HistoryViewModel> GetFullList();
|
|||
|
List<HistoryViewModel> GetHistoryByBookId(int bookId);
|
|||
|
void Insert(HistoryBindingModel model);
|
|||
|
void Delete(HistoryBindingModel model);
|
|||
|
}
|
|||
|
}
|