public MovieModel(Itse1430.MovieLib.Movie item) { if (item != null) { Id = item.Id; Name = item.Name; Description = item.Description; ReleaseYear = item.ReleaseYear; RunLength = item.RunLength; IsOwned = item.IsOwned; } }
public MovieModel(Itse1430.MovieLib.Movie item) { //copying from the bus obj to the model if (item != null) { Id = item.Id; Name = item.Name; Description = item.Description; ReleaseYear = item.ReleaseYear; RunLength = item.RunLength; IsOwned = item.IsOwned; } ; }