Exemplo n.º 1
0
 public string UserUpdatePassword(users_Prop userprop)
 {
     try
     {
         userdal = new users_dal();
         string strMsg = userdal.UserUpdatePassword(userprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }
Exemplo n.º 2
0
 public string UserCheckLogin(users_Prop userprop)
 {
     try
     {
         userdal = new users_dal();
         string strMsg = userdal.UsersCheckLogin(userprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }
Exemplo n.º 3
0
 public DataTable UserSelect(users_Prop userprop)
 {
     try
     {
         userdal = new users_dal();
         DataTable dt = userdal.UserSelect(userprop);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
Exemplo n.º 4
0
 public string LogOut(users_Prop userprop)
 {
     try
     {
         userdal = new users_dal();
         string strMsg = userdal.Logout(userprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }