public List <PostViewModel> RecuperarTodosPosts() { var list = new List <PostViewModel>(); var posts = postData.FindAll(); if (posts.Any()) { foreach (var item in posts) { list.Add(MontarView(item)); } } return(list); }