Esempio n. 1
0
 internal void CreateUserIfDoesNotExist(string UserEmail, UserBs userBs)
 {
     if (userBs.GetALL().Where(x => x.UserEmail == UserEmail).Count() == 0)
     {
         userBs.Insert(new tbl_User()
         {
             UserEmail = UserEmail, Role = "U", Password = "******", ConfirmPassword = "******"
         });
     }
 }