Esempio n. 1
0
 public static sysRole EntityMap(this sysRoleView model)
 {
     //2.0 将一个实体转换成另外一个实体
     return(Mapper.Map <sysRoleView, sysRole>(model));
 }
Esempio n. 2
0
 public ActionResult add(sysRoleView model)
 {
     return(View());
 }
Esempio n. 3
0
 public static sysRole EntityMap(this sysRoleView model)
 {
     return(Mapper.Map <sysRoleView, sysRole>(model));
 }