Ejemplo n.º 1
0
 public static PostFileViewModel ToViewModel(this PostFileDto source)
 {
     return(new PostFileViewModel
     {
         CountDownload = source.CountDownload,
         FileName = source.FileName,
         Id = source.Id,
         Length = source.Length,
         Title = source.Title,
         Type = source.Type
     });
 }
 public UploadPostFileResponseDto(PostFileDto postFile)
 {
     PostFile = postFile;
 }