You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using LibraryDTO;
|
|
|
|
|
using Model;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Utils;
|
|
|
|
|
|
|
|
|
|
namespace Stub
|
|
|
|
|
{
|
|
|
|
|
static class Mapper
|
|
|
|
|
{
|
|
|
|
|
internal static Mapper<Author, AuthorDTO> AuthorsMapper { get; } = new Mapper<Author, AuthorDTO>();
|
|
|
|
|
internal static Mapper<Work, WorkDTO> WorksMapper { get; } = new Mapper<Work, WorkDTO>();
|
|
|
|
|
internal static Mapper<Book, BookDTO> BooksMapper { get; } = new Mapper<Book, BookDTO>();
|
|
|
|
|
|
|
|
|
|
internal static void Reset()
|
|
|
|
|
{
|
|
|
|
|
AuthorsMapper.Reset();
|
|
|
|
|
WorksMapper.Reset();
|
|
|
|
|
BooksMapper.Reset();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|