public ActionResult Create(DateTimePickerVM vm)
        {
            try
            {
                var id = vms.OrderByDescending(i => i.Id).Select(i => i.Id).FirstOrDefault();
                vm.Id = ++id;
                vms.Add(vm);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }

        }
        public ActionResult Edit(int id, DateTimePickerVM vm)
        {
            try
            {
                var locSource = vms.Where(i => i.Id == vm.Id).SingleOrDefault();
                locSource.Date = vm.Date;
                locSource.Date2 = vm.Date2;
                locSource.Date3 = vm.Date3;
                locSource.DateRange = vm.DateRange;
                locSource.Time = vm.Time;
                locSource.Time2 = vm.Time2;

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }

        }