Fixed a bunch of warnings

This commit is contained in:
Andre Beging
2022-05-31 15:08:55 +02:00
parent cd22c2f215
commit 7208f1e86d
21 changed files with 202 additions and 140 deletions

View File

@@ -14,7 +14,7 @@ namespace FoodsharingSiegen.Contracts.Entity
/// <summary>
/// Gets the value of the complete (ab)
/// </summary>
[NotMapped] public bool Complete => Interactions?.Any(x => x.Type == InteractionType.Complete) == true;
[NotMapped] public bool Complete => Interactions.Any(x => x.Type == InteractionType.Complete);
/// <summary>
/// Gets or sets the value of the created (ab)