Esempio n. 1
0
        public BsJsonResult Reorder(List <ContributorOrderModel> model)
        {
            var status = BsResponseStatus.Success;
            var msg    = string.Empty;

            try
            {
                _gridRepository.Reorder(model);

                var contributors = Db.Contributors.ToList();
            }
            catch (Exception ex)
            {
                msg    = "<strong>" + Resource.ServerError + "!</strong> " + ex.Message;
                status = BsResponseStatus.ServerError;
            }

            return(new BsJsonResult(null, status, msg));
        }