Beispiel #1
0
        public ActionResult Photos()
        {
            tcpClient.Connect();         // try to connect to server
            Settings.Instance.GetData(); // read settings data
            PhotosGallery gallery = PhotosGallery.Instance;

            gallery.CreatePhotosList(Settings.Instance.OutPutDur + '\\' + "Thumbnails"); // generate gallery
            return(View(gallery.PhotoList));
        }
Beispiel #2
0
        public string RemovePic(string path)
        {
            PhotosGallery gallery = PhotosGallery.Instance;

            return(gallery.RemovePicFromComp(path));
        }