public ActionResult LoadGrid() { var status = "error"; try { if (!Authenticated) { status = "SESSION EXPIRED"; } else { var item = db.GetAllItem(); status = JsonConvert.SerializeObject(item); } } catch (Exception ex) { ApplicationExceptionLogging(ex.Message, ex.StackTrace, "ItemManagement", "LoadGrid"); } return(Content(status)); }