private static BookRecomendation MapToBookRecommendationModel(BookScore book, int userId) { return(new BookRecomendation { UserId = userId, BookId = book.BookId, PredictedRate = book.PredictedRate }); }
private Test MapScoreToTest(BookScore score, int settingVersion) { return(new Test { ActualRate = score.Rate, BookId = score.BookId, ParametersSet = settingVersion, UserId = score.UserId, PredictedRate = score.PredictedRate }); }