Exemplo n.º 1
0
        public ViewResult UploadPhoto()
        {
            IpAddress ip       = new IpAddress();
            Photo     newPhoto = new Photo();

            newPhoto.IpAddress = ip.GetCurrent();

            return(View(newPhoto));
        }