using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectLibrary.Entites { public class BookOrders { public int BookID { get; private set; } public int OrderID { get; private set; } public static BookOrders CreateEntity(int bookID, int orderID) { return new BookOrders { BookID = bookID, OrderID = orderID }; } } }