public ActionResult Options(int id) { List <Manufacturer> manufacturers; List <ProductLine> productLines; var model = new QuoteOptionsModel { QuoteID = id }; using (var mm = new ManufacturerManager()) { manufacturers = mm.All().ToList(); } using (var mm = new MaterialsManager()) { productLines = mm.ActiveProductLines().ToList(); } model.ManufacturerSelectionModels = manufacturers.Select(manufacturer => new ManufacturerSelectionModel { IsSelected = false, ManufacturerID = manufacturer.ID, ManufacturerName = manufacturer.Name }).ToList(); model.ProductLineSelectionModels = productLines.Select(productLine => new ProductLineSelectionModel { IsSelected = false, ProductLineID = productLine.ID, ProductLineName = productLine.Name }).ToList(); return(View("Options", model)); }