// GET: OrderlineController public ActionResult Index() { return(View(_partsBL.GetOrderline().Select(orderline => _mapper.cast2OrderlineIndexVM(orderline)).ToList())); }