Esempio n. 1
0
        public ActionResult NewTime(string time)
        {
            if (ValidationUtility.IsValidTime(time))
            {
                Database.Instance.SaveNewTime(TimeSpan.Parse(time));
            }

            return(RedirectToAction(nameof(Settings)));
        }