Beispiel #1
0
 public ActionResult ViewUser(int id)
 {
     UserDAL.user dal = repo.View(id);
     Models.user  mvc = new Models.user();
     mvc.userId   = dal.userId;
     mvc.userName = dal.userName;
     mvc.Phone    = dal.Phone;
     mvc.Email    = dal.Email;
     mvc.Password = dal.Password;
     return(View(mvc));
 }