Ejemplo n.º 1
0
        public TopicItemViewModel(Topic topic)
        {
            this.topic = topic;

            Question = topic.Question;
            CreatedAt = topic.CreatedAt.ToString("ddd MM HH:mm");
            User = topic.User.Name;
        }
Ejemplo n.º 2
0
 public void SelectTopic(Topic topic)
 {
     RequestNavigate<TopicDetailsViewModel>(new { topic = JsonConvert.SerializeObject(topic) });
 }