Esempio n. 1
0
        public ActionResult Index()
        {
            var method = paymentMethodService.FindAll().ToList();
            var model  = new PaymentMethodsViewModel
            {
                PaymentMethods = Mapper.Map <List <PaymentMethodViewModel> >(method)
            };

            return(View(model));
        }