Add seasons

This commit is contained in:
Zoe Roux
2023-03-26 02:09:18 +09:00
parent 408873b844
commit 75fb4b5809
12 changed files with 84 additions and 31 deletions
+5 -1
View File
@@ -480,7 +480,7 @@ namespace Kyoo.Postgresql
{
try
{
return await base.SaveChangesAsync(cancellationToken);
return await SaveChangesAsync(cancellationToken);
}
catch (DbUpdateException ex)
{
@@ -489,6 +489,10 @@ namespace Kyoo.Postgresql
throw new DuplicatedItemException(await getExisting());
throw;
}
catch (DuplicatedItemException)
{
throw new DuplicatedItemException(await getExisting());
}
}
/// <summary>