常用方法
常用方法
常用方法
常用方法
public ActionResult Index() { var method = paymentMethodService.FindAll().ToList(); var model = new PaymentMethodsViewModel { PaymentMethods = Mapper.Map <List <PaymentMethodViewModel> >(method) }; return(View(model)); }