Align .editorconfig files
When debugging only app.Services.GetRequiredService<IPCRBService>(); Injected AppSettings instead of using GetEnvironmentVariable at Services level Get ready to use VSCode IDE
This commit is contained in:
@ -14,17 +14,15 @@ public class User {
|
||||
public DateTime OOOExpirationDate { get; set; }
|
||||
public int DelegatedTo { get; set; }
|
||||
|
||||
public string GetFullName() {
|
||||
return $"{FirstName} {LastName}";
|
||||
}
|
||||
public string GetFullName() =>
|
||||
$"{FirstName} {LastName}";
|
||||
|
||||
public override bool Equals(object obj) {
|
||||
public override bool Equals(object? obj) {
|
||||
User? u = obj as User;
|
||||
|
||||
return u is not null && u.UserID == this.UserID;
|
||||
return u is not null && u.UserID == UserID;
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
return this.UserID.GetHashCode();
|
||||
}
|
||||
}
|
||||
public override int GetHashCode() =>
|
||||
UserID.GetHashCode();
|
||||
}
|
Reference in New Issue
Block a user