public Post[] GetReplies(Postkey key)
{
try
{
if (key != null)
{
log.Info("got request for post " + key);
return dataManager.GetPost(key).Replies.Values.OrderBy(post => post.Key.Time).ToArray();
}
else
{
log.Info("got a null postkey in get replies");
return null;
}
}
catch (Exception e)
{
log.Error("failed get post " + key, e);
throw e;
}
}