Exemplo n.º 1
0
 // 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);
 }
Exemplo n.º 2
0
 public ManagementUnitsController()
 {
     repository = new MASTS.Domain.Concrete.EFManagementUnitRepository();
 }