Beispiel #1
0
        public ActionResult SetActive(int id)
        {
            var result = true;

            try
            {
                result = dao.SetActive(id);
            }
            catch (Exception ex)
            {
                return(Json(new { status = false, Messger = ex.Message }));
            }
            return(Json(new { status = result, Messger = "Set Active Slider" }));
        }