22 lines
545 B
C#
22 lines
545 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 IAuthorStorage
|
|||
|
{
|
|||
|
List<AuthorViewModel> GetFullList();
|
|||
|
List<AuthorViewModel> GetFilteredList(AuthorBindingModel model);
|
|||
|
AuthorViewModel GetElement(AuthorBindingModel model);
|
|||
|
|
|||
|
void Insert(AuthorBindingModel model);
|
|||
|
void Update(AuthorBindingModel model);
|
|||
|
void Delete(AuthorBindingModel model);
|
|||
|
}
|
|||
|
}
|