Warnings entfernt

This commit is contained in:
BuildTools 2024-02-28 19:54:09 +01:00
parent 2ad3da8b20
commit af867d248d
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
public int Id { get; set; }
public int CocktailID { get; set; }
public int FlascheID { get; set; }
public Flasche Flasche { get; set; }
public Cocktail Cocktail { get; set; }
public Flasche Flasche { get; set; } = null!;
public Cocktail Cocktail { get; set; } = null!;
public int Reihenfolge { get; set; }
public int Menge { get; set; }

View File

@ -23,7 +23,7 @@
bool Sending = false;
bool Receiving = false;
public async Task SendData()
public void SendData()
{
if (Sending) return; // nichts senden, wenn bereits am Senden
Sending = true;