Exemple #1
0
        public void NotifyDeletePhoto(int index)
        {
            string photo = PhotoDB.GetPhoto(index).Serialize();
            MessageRecievedEventArgs messageRecievedEventArgs = new MessageRecievedEventArgs(MessageTypeEnum.P_DELETE, photo);

            NotifyPhotoChange?.Invoke(this, messageRecievedEventArgs);
        }
 public ActionResult ViewPhoto(int selectedPhoto)
 {
     model.selectedPhoto = PhotoDB.GetPhoto(selectedPhoto);
     return(RedirectToAction("ViewPhotoView"));
 }