public static UserToBook CreateUserToBook(Guid userId, int bookId, int userToBookId) { UserToBook userToBook = new UserToBook() { UserId = userId, BookId = bookId, UserToBookId = userToBookId }; return(userToBook); }
public void AddToUserToBooks(UserToBook userToBook) { base.AddObject("UserToBooks", userToBook); }