// GET: ApplicationTable
 public ActionResult Index()
 {
     repository = new MASTS.Domain.Concrete.EFManagementUnitRepository();
     SortedList<int, string> EntityList = BuildTableList("Entity");
     ViewBag.EntityList = EntityList;
     SortedList<int, string> CostCenterList = BuildTableList("CostCenter");
     ViewBag.CostCenterList = CostCenterList;
     return View(repository.ManagementUnits);
 }
 public ManagementUnitsController()
 {
     repository = new MASTS.Domain.Concrete.EFManagementUnitRepository();
 }