0
0

Refactoring

This commit is contained in:
Sergey Chebotar 2023-06-06 09:49:17 +03:00
parent fa3b9337a3
commit e7cd6decdb

View File

@ -90,13 +90,9 @@ namespace MyDarling.Controllers
}
resizer.WriteResized(file, fullPath);
}
if (!string.IsNullOrEmpty(fullPath))
{
resizer.CreateThumbnail(fullPath);
}
try
{
await context.SaveChangesAsync();