public JsonResult GetDates()
        {
            DropDownListsRepository modelRepo = new DropDownListsRepository();

            return Json(modelRepo.GetDates().OrderBy(o => o.Name).Select(c => new { DateID = c.ID, Date = c.Name }).OrderBy(o => o.Date), JsonRequestBehavior.AllowGet);
        }