Leerzeilen, Kommentare

This commit is contained in:
2025-01-15 17:04:15 +01:00
parent df1e922c90
commit adab1c9ea6
4 changed files with 14 additions and 14 deletions

View File

@@ -98,9 +98,6 @@ internal static class BaseFunc {
return null;
}
internal static Note Load(string filename) {
filename = System.IO.Path.Combine(FileSystem.AppDataDirectory, filename);
@@ -113,14 +110,11 @@ internal static class BaseFunc {
};
}
/// <summary>
/// Stundeneintrag speichern
/// </summary>
internal static async Task SaveItemAsync(string url, string token, DayTime item, bool isNewItem = false) {
//Uhrzeiten sollten sinnvolle Werte haben - außer bei Freistellungen, da wäre eigentlich null
if (item.TimeSpanVon == item.TimeSpanBis && item.FreistellungAktiv == null) {
throw new Exception("Beginn und Ende sind gleich");