常用方法
常用方法
常用方法
常用方法
public virtual ActionResult Edit(dynamic id) { var poco = _service.GetByID(int.Parse(id)); var viewModel = Mapper.Map <TViewModel>(poco); return(View(viewModel)); }
public virtual ActionResult Edit(dynamic id) { var poco = _service.GetByID(int.Parse(id)); var viewModel = Mapper.Map <TViewModel>(poco); return(View(viewModel)); }