Skip to content
Snippets Groups Projects
Commit 67ce5066 authored by Sandesh's avatar Sandesh
Browse files

sdfss

parent 282d81b5
Branches main
No related tags found
No related merge requests found
class SampleDataBase{
userList : User[] = []
constructor(){
this.userList.push(new User("aasda","asdasd"))
this.userList.push(new User("aasda","asdasd"))
this.userList.push(new User("aasda","asdasd"))
this.userList.push(new User("aasda","asdasd"))
this.userList.push(new User("aasda","asdasd"))
}
}
class User {
name;
psw;
constructor(name, psw){
this.name = name;
this.psw = psw;
}
}
\ No newline at end of file
......@@ -17,6 +17,7 @@ import { ParentClass } from "../ParentClass";
userName = '';
psw ='';
errorMessage = 'All details are Mandatory.';
er = "";
objLogin : Login;
constructor(private httpService : HttpService, private router : Router,private dialog: MatDialog){
......@@ -73,6 +74,7 @@ import { ParentClass } from "../ParentClass";
this.router.navigateByUrl('');
this.edit_Auth = false;
}
}
export class Login extends ParentClass{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment