using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectLibrary.Entites { public class BookLibrary { public int BookID { get; private set; } public int LibraryID { get; private set; } public int Count { get; private set; } public static BookLibrary CreateEntity(int bookID, int libraryID, int count) { return new BookLibrary { BookID = bookID, LibraryID = libraryID, Count = count }; } } }