public ActionResult GetComments() { var service = new AlbumFotoService(); var poza = Request["Picture"].ToString(); return(View("Comentarii", service.GetComments(poza))); }
public ActionResult ViewComments(string pictureName) { try { var service = new AlbumFotoService(); return(View(service.GetComments(pictureName))); } catch { return(RedirectToAction("Index")); } }
public ActionResult ViewComments(string picture_name) { var foto_service = new AlbumFotoService(); return(View(foto_service.GetComments(picture_name))); }