public ActionResult OrderDetails(OrderModel orderModel) { LoadStaticStatusData(); var results = DBProcessor.Details(orderModel, "Orders"); results.OrderStatusLabel = (StatusType)results.OrderStatus; return(View(results)); }