Exemplo n.º 1
0
        public ActionResult Index()
        {
            var model = new List <BillIndexViewModel>();

            model.AddRange(_billingContext.GetBills().Select(Map).ToList());
            return(View("Index", model));
        }