Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
        public string RemovePic(string path)
        {
            PhotosGallery gallery = PhotosGallery.Instance;

            return(gallery.RemovePicFromComp(path));
        }