change all save to database no folder anymore

This commit is contained in:
2026-09-19 22:37:43 +10:00
parent ba4976fce4
commit 75b49be476
4 changed files with 68 additions and 19 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ public class UploadCriteria
{
public string FileName { get; set; }
public int PersonId { get; set; }
public int? PhotoType {get; set;}
public IFormFile File { get; set; }
}
public class DeleteFileCriteria
@@ -1,5 +1,12 @@
namespace FamilyTreeAPI.Entities;
//photo Type string number
public enum enumPhotoType
{
Profile = 1,
Other = 2
}
public class PersonPhotoDto
{
public int Id { get; set; }