Exemple #1
0
        public ActionResult GetComments()
        {
            var service = new AlbumFotoService();
            var poza    = Request["Picture"].ToString();

            return(View("Comentarii", service.GetComments(poza)));
        }
Exemple #2
0
 public ActionResult ViewComments(string pictureName)
 {
     try
     {
         var service = new AlbumFotoService();
         return(View(service.GetComments(pictureName)));
     }
     catch
     {
         return(RedirectToAction("Index"));
     }
 }
Exemple #3
0
        public ActionResult ViewComments(string picture_name)
        {
            var foto_service = new AlbumFotoService();

            return(View(foto_service.GetComments(picture_name)));
        }