DocSpace-client/products/ASC.People/Server/Models/UploadPhotoModel.cs

25 lines
647 B
C#
Raw Normal View History

using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
namespace ASC.People.Models
{
public class UploadPhotoModel
{
public List<IFormFile> Files { get; set; }
public bool Autosave { get; set; }
}
2019-09-13 11:41:15 +00:00
public class UploadCroppedPhotoModel
{
public string base64CroppedImage { get; set; }
public string base64DefaultImage { get; set; }
public bool Autosave { get; set; }
}
public class FileUploadResult
{
public bool Success { get; set; }
public object Data { get; set; }
public string Message { get; set; }
}
}