put in new console why is not save attachment person id < 0

This commit is contained in:
2026-04-05 15:34:23 +10:00
parent 1681f48bbf
commit 7744dc3680
5 changed files with 9 additions and 10 deletions
@@ -72,6 +72,7 @@ namespace FamilyTreeAPI.Repository
}
_context.PersonPhotos.Add(model);
await _context.SaveChangesAsync();
result = model.Id;
statuscode = 1;