public ActionResult Create(OffDays offdays)
        {


            //offdays.OffDay = Int32.Parse(offdays.OffDay);
            if (ModelState.IsValid)
            {
                db.OffDays.Add(offdays);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.WorkingTimesId = new SelectList(db.WorkingTimes, "Id", "Id", offdays.WorkingTimesId);
            return View(offdays);
        }
        public ActionResult Edit(OffDays offdays)
        {


            ViewBag.dpicker = new DPicker();
            if (ModelState.IsValid)
            {
                db.Entry(offdays).State = EntityState.Modified;
                db.SaveChanges();
                return RedirectToAction("Index");
            }
            ViewBag.WorkingTimesId = new SelectList(db.WorkingTimes, "Id", "Id", offdays.WorkingTimesId);
            return View(offdays);
        }