refactoring fs
parent
5b55b66e9a
commit
9cd05f50a1
@ -1,11 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Microsoft.AspNet.Http;
|
||||
|
||||
public class BlogFilesPost {
|
||||
[Required]
|
||||
public long PostId {get; set; }
|
||||
[Required]
|
||||
public IList<IFormFile> File { get; set; }
|
||||
}
|
||||
@ -1,19 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Yavsc.ViewModels
|
||||
{
|
||||
public class FileInfo
|
||||
{
|
||||
|
||||
public string PermanentUri { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
public int Size { get; set; }
|
||||
|
||||
public DateTime Creation { get; set; }
|
||||
|
||||
public string MimeType { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue