public JsonResult Update(string idParametro, string valor)
        {
            if (!String.IsNullOrWhiteSpace(idParametro) && !String.IsNullOrWhiteSpace(valor))
            {
                //Monta o objeto para update
                var valorUpdate = IsDecimal(valor.Replace(",", ".")) ? valor.Replace(",", ".") : valor;

                var paramTemp = new ParameterModel
                                    {
                                        IdParametro = Convert.ToInt32(idParametro),
                                        Valor = valorUpdate
                                    };

                var updateStatus = new Parameter().UpdateRecord(Settings.AutenticationKeyEarningSystem,paramTemp);

                if (updateStatus)
                {
                    return Json(new JsonRequestResult { ResultType = JsonRequestResultType.Success, Message = Resources.Resource.GS_Parameter_Update_Success }, JsonRequestBehavior.AllowGet);    
                }
            }
            return Json(new JsonRequestResult { ResultType = JsonRequestResultType.Error, Message = Resources.Resource.GS_Parameter_Update_Error }, JsonRequestBehavior.AllowGet);
        }
        /// <summary>
        /// Returns a pagedList of Parameters
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        public ActionResult Listing(int? page)
        {
            try
            {

                var parameterList = new Parameter().GetAllParameter(Settings.AutenticationKeyEarningSystem);

                var mvcList = new MvcList<ParameterModel>(parameterList
                                                              .OrderBy(x => x.IdParametro)
                                                              .Take(Settings.PopupListTotalRegisters),
                                                          page.GetValueOrDefault(),
                                                          Settings.PopupListTotalRegisters,
                                                          Settings.PopupListTotalRegisters);

                return PartialView(mvcList);

            }catch(Exception ex)
            {
                LogService.Log("GS.ParameterController.Listing() :: Exception : ", ex);
            }

            return PartialView("Listing");
        }