put in new console why is not save attachment person id < 0
This commit is contained in:
@@ -72,6 +72,7 @@ namespace FamilyTreeAPI.Repository
|
||||
}
|
||||
_context.PersonPhotos.Add(model);
|
||||
await _context.SaveChangesAsync();
|
||||
result = model.Id;
|
||||
|
||||
statuscode = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user