public TaskDetailsViewModel(NavigationTarget target)
 {
     if (target is TaskDetailsTarget)
     {
         LoadData((target as TaskDetailsTarget).TaskId);
     }
     if (target is CommentTarget)
     {
         LoadData((target as CommentTarget).TaskId);
         _selectedComment = Comments.FirstOrDefault(x => x.Id == (target as CommentTarget).CommentId);
     }
 }
 public TaskDetailsViewModel(long taskId, long commentId)
 {
     LoadData(taskId);
     _selectedComment = Comments.FirstOrDefault(x => x.Id == commentId);
 }