/// <summary> /// Gets the Order history control. /// </summary> /// <returns> /// Order history control markup. /// </returns> public static MvcHtmlString GetOrderHistoryControl() { string htmlContent; using (OrderHistory orderHistory = new OrderHistory()) { htmlContent = orderHistory.GetControlMarkup(); } return(MvcHtmlString.Create(htmlContent)); }