TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Geni Lou
NA
101
24.2k
Converting List
Mar 27 2021 3:46 PM
is this the best way to convert a repository to model?
public
static
List<ProductRepository> ToRepositories(
this
List<ProductModel> model){
var repo =
new
List<ProductRepository>();
foreach
(var m
in
model){
repo.Add(m.ToRepository());
}
return
repo;
}
Reply
Answers (
3
)
Export to pdf using Itextsharp in .NetCore
Display same result set as combined for Two different Criteria on Max