This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
bee-frontend-ARCHIVED/src/app/app.service.ts
2024-08-24 22:27:08 +00:00

22 lines
343 B
TypeScript

import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class AppService {
private username: string|null;
constructor() {
this.username = null;
}
public getUsername(): string|null {
return this.username;
}
public setUsername(name: string|null): void {
this.username = name;
}
}