public DataTable CheckSystemAccessBLL()
        {
            SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL();
            DataTable       res = aSystemAccessDAL.CheckSystemAccessDAL();

            return(res);
        }
Example #2
0
        public DataTable View_Existing_UserAccessBLL(SystemAccess aSystemAccess)
        {
            SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL();
            DataTable       dTable           = aSystemAccessDAL.View_Existing_UserAccessDAL(aSystemAccess);

            return(dTable);
        }
 public bool SetSystemAccessBLL(SystemAccess aSyatemAccess, string ConfirmPassword)
 {
     if (aSyatemAccess.userName == "" || aSyatemAccess.Password == "" || ConfirmPassword != aSyatemAccess.Password)
     {
         return(false);
     }
     else
     {
         SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL();
         bool            res = aSystemAccessDAL.SetSystemAccessDAL(aSyatemAccess);
         return(res);
     }
 }
Example #4
0
        public bool Delete_UserAccessBLL(SystemAccess aSystemAccess)
        {
            SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL();
            bool            Result           = aSystemAccessDAL.Delete_UserAccessDAL(aSystemAccess);

            if (Result)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #5
0
 public bool Save_new_AccessBLL(SystemAccess aSystemAccess)
 {
     if (aSystemAccess.Username == "" || aSystemAccess.Password == "")
     {
         return(false);
     }
     else
     {
         SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL();
         bool            Result           = aSystemAccessDAL.Save_new_AccessDAL(aSystemAccess);
         if (Result)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
 }