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.
60 lines
1.4 KiB
60 lines
1.4 KiB
/*
|
|
using Model;
|
|
using Model.Group;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyStub
|
|
{
|
|
public class MyStub : ILibraryManager
|
|
{
|
|
|
|
private readonly StubAuthor StubAuthor;
|
|
|
|
public MyStub()
|
|
{
|
|
|
|
}
|
|
|
|
public Task<Author> GetAuthorById(string id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Tuple<long, IEnumerable<Author>>> GetAuthorsByName(string substring, int index, int count, string sort = "")
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Book> GetBookById(string id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Book> GetBookByISBN(string isbn)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Tuple<long, IEnumerable<Book>>> GetBooksByAuthor(string author, int index, int count, string sort = "")
|
|
{
|
|
|
|
return StubAuthor.GroupByAuthor;
|
|
}
|
|
|
|
public Task<Tuple<long, IEnumerable<Book>>> GetBooksByAuthorId(string authorId, int index, int count, string sort = "")
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Tuple<long, IEnumerable<Book>>> GetBooksByTitle(string title, int index, int count, string sort = "")
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
}
|
|
}
|
|
*/ |