public ActionResult Index() { var model = new List <BillIndexViewModel>(); model.AddRange(_billingContext.GetBills().Select(Map).ToList()); return(View("Index", model)); }