public string GetCurrentStatus() { if (MessageHistory.Count == 0) { return(WorkItemStatus.Received); } return(MessageHistory.Where(message => message.DepthLevel == 0).Last().MessageType); }