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.
20 lines
548 B
20 lines
548 B
|
3 years ago
|
using w21library.classes;
|
||
|
|
|
||
|
|
namespace w21libraryconsole
|
||
|
|
{
|
||
|
|
internal class Program
|
||
|
|
{
|
||
|
|
static void Main(string[] args)
|
||
|
|
{
|
||
|
|
TestLibrary testLibrary = new TestLibrary();
|
||
|
|
string uid = String.Empty;
|
||
|
|
foreach (var book in testLibrary.GetActiveBooks())
|
||
|
|
{
|
||
|
|
uid = book.Uuid;
|
||
|
|
Console.WriteLine($"[{book.Author} // {book.Name}");
|
||
|
|
}
|
||
|
|
testLibrary.AddBook("asdas", "asasdfasdasd");
|
||
|
|
testLibrary.RemoveBook(uid);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|