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