Beispiel #1
0
 public virtual void AddImage(ImageData data)
 {
     Image = new Image { ImageData = data, CreateDate = DateTime.UtcNow };
 }
Beispiel #2
0
        public virtual void UpdateProfileImage(ImageData data)
        {
            if (ProfileImage == null)
            {
                ProfileImage = new Image();
            }

            ProfileImage.ImageData = data;
            UpdateLastActivity();
        }