public ActionResult UpdateConfigureSystem(ConfigurationModel model)
 {
     var helper = new ConfigureHelper();
     helper.UpdateModel(model);
     TempData["edit"] = "Success";
     return RedirectToAction("ConfigureSystem");
 }
        public ConfigurationModel CreateNewModel()
        {
            var model = new ConfigurationModel
            {
                LimitRequestPerDay = GetLimitPerDay(),
                ParseTime = GetParseTime(),
                TotalPoint = GetTotalMaxPoint(),
                UpdateTimePrice = GetUpdatePriceTime(),
                TimeoutTime = GetTimeoutTime()

            };
                return model;
        }
 public void UpdateModel(ConfigurationModel model)
 {
     SetLimitPerDay(model.LimitRequestPerDay);
     SetParseTime(model.ParseTime);
     SetToTalMaxPoint(model.TotalPoint);
     SetUpdatePriceTime(model.UpdateTimePrice);
     SetTimeoutTime(model.TimeoutTime);
 }