public static Users Todal(UsrDto u)
 {
     return(new Users
     {
         UserName = u.UserName,
         Password = u.Password
     });
 }
Ejemplo n.º 2
0
 public static user Todal(UsrDto u)
 {
     return(new user
     {
         email = u.email,
         first_name = u.first_name,
         last_name = u.last_name,
         userName = u.userName,
         user_password = u.user_password,
         id = 1
     });
 }