Ejemplo n.º 1
0
 public bool CreateUser(MarketManRegisterFM userFM)
 {
     if (IsValidUser(userFM))
     {
         //email temp pass to user
         MarketManDAO dao  = new MarketManDAO();
         MarketMan    user = new MarketMan();
         user.Email    = userFM.Email;
         user.Password = userFM.Password;
         dao.CreateMarketMan(user);
         return(true);
     }
     return(false);
 }