28 lines
596 B
C#
28 lines
596 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 DownloadFileCriteria
|
|
{
|
|
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; }
|
|
} |