Ejemplo n.º 1
0
        // GET: Worker
        public ActionResult Index()
        {
            ViewBag.Devices    = DeviceModel.GetAllDevices();
            ViewBag.Commands   = CommandModel.GetAllCommands();
            ViewBag.Actions    = ActionModel.GetAllActions();
            ViewBag.Jobs       = JobModel.GetAllJobs();
            ViewBag.ReturnLogs = ReturnLogModel.GetAllReturnLogs();

            return(View());
        }