public DataTable CheckSystemAccessBLL() { SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL(); DataTable res = aSystemAccessDAL.CheckSystemAccessDAL(); return(res); }
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); } }
public bool Delete_UserAccessBLL(SystemAccess aSystemAccess) { SystemAccessDAL aSystemAccessDAL = new SystemAccessDAL(); bool Result = aSystemAccessDAL.Delete_UserAccessDAL(aSystemAccess); if (Result) { return(true); } else { return(false); } }
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); } } }