change all save to database no folder anymore
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user