Fixed a bunch of warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace FoodsharingSiegen.Contracts.Helper
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user