Beispiel #1
0
 public CommentDTO(string content, int rate, string username, DateTime date, FilmDTO film)
 {
     Content  = content;
     Rate     = rate;
     Username = username;
     Date     = date;
     Film     = film;
 }
Beispiel #2
0
 public FilmDTO(FilmDTO f)
 {
     Id            = f.Id;
     Title         = f.Title;
     OriginalTitle = f.OriginalTitle;
     Runtime       = f.Runtime;
     PosterPath    = f.PosterPath;
     Url           = f.Url;
 }
Beispiel #3
0
        }                                 //one to many avec film

        public CommentDTO(int id, string content, int rate, string username, DateTime date, FilmDTO film)
            : this(content, rate, username, date, film)
        {
            Id = id;
        }