Example #1
0
        public JsonResult SaveCategoriesOrder(int[] idS)
        {
            string error;
            var    result = _webStoreServices.SaveCategoriesOrder(idS, out error);

            return(Json(new JsonResponseToken
            {
                success = result
                , message = "Categories order saved"
                , error = error
            }, JsonRequestBehavior.AllowGet));
        }