Files
familytree/API/FamilyTreeAPI/Entities/FileContent.cs
T
2025-08-10 22:01:36 +10:00

24 lines
517 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FamilyTreeAPI.Entities;
public class FileContent
{
public byte[] Content { get; set; }
public string FileName { get; set; }
}
public class UploadCriteria
{
public string FileName { get; set; }
public string FamilyId { get; set; }
public IFormFile File { get; set; }
}
public class DeleteFileCriteria
{
public int FamilyId { get; set; }
public string Filename { get; set; }
}