public ActionResult InstalledInWorkstations(int id) { FoxWorkStationView dataForView=new FoxWorkStationView() { WorkStationsBySoftwareId = wkService.GetWorkStationsBySoftwareId(id) }; return View(dataForView); }
// GET: FoxWorkStations public ActionResult Index(string search) { FoxWorkStationView dataForView = new FoxWorkStationView() { WPList = wkService.GetWorkStationsByType("WP"), AWList = wkService.GetWorkStationsByType("AW"), OtherList = wkService.GetWorkStationsByType("CPU") }; return View(dataForView); }