20 lines
462 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 IAuthorStorage
{
List<AuthorView> GetFullList();
AuthorView? GetElement(AuthorDto model);
AuthorView? Insert(AuthorDto model);
AuthorView? Update(AuthorDto model);
AuthorView? Delete(AuthorDto model);
}
}