Ejemplo n.º 1
0
 public UpdateFilmVM(FilmForReturnDto filmForReturnDto)
 {
     Id          = filmForReturnDto.Id;
     Name        = filmForReturnDto.Name;
     Description = filmForReturnDto.Description;
     ReleaseYear = filmForReturnDto.ReleaseYear;
     Director    = filmForReturnDto.Director;
 }
Ejemplo n.º 2
0
 public ViewFilmVM(FilmForReturnDto filmForReturnDto, string userName)
 {
     Name        = filmForReturnDto.Name;
     Description = filmForReturnDto.Description;
     ReleaseYear = filmForReturnDto.ReleaseYear;
     Director    = filmForReturnDto.Director;
     ImageName   = filmForReturnDto.ImgName;
     UserName    = userName;
 }