public UserAsset(int id, string assetName, string notes, UsersAccounts.UserData author, AssetType assetType, AssetStatus assetStatus, string softwareUsed, string assetPath, PegiRating pegiRating, string tags, string thumbnail = null, string galleryOne = null, string galleryTwo = null, string galleryThree = null, string galleryFour = null, string galleryFive = null) { _author = author; _id = id; _assetTitle = assetName; _notes = notes; _assetType = assetType; _assetStatus = assetStatus; _softwareUsed = softwareUsed; _assetPath = assetPath; _pegiRating = pegiRating; _tags = tags; _thumbNailPicture = thumbnail; _picturesPath.Add(galleryOne); _picturesPath.Add(galleryTwo); _picturesPath.Add(galleryThree); _picturesPath.Add(galleryFour); _picturesPath.Add(galleryFive); }
public void SetPegiRating(PegiRating pegiRating) { _pegiRating = pegiRating; }