public ActionResult PrintBarcode() { var status = "error"; try { if (!Authenticated) { status = "SESSION EXPIRED"; } else { var item = db.LoadProductBarcodeForPrint(); status = JsonConvert.SerializeObject(item); } } catch (Exception ex) { throw; } return(Content(status)); }