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

            return Json(modelRepo.ReadTables().OrderBy(o => o.Name).Select(c => new { TableID = c.ID, Table = c.Name }).OrderBy(o => o.Table), JsonRequestBehavior.AllowGet);
        }