public JsonResult GetAccTypes() { try { return(Json(GlobalMethod.GetAccTypes())); } catch (Exception) { return(Json("Invalid Error")); } }