Exemplo n.º 1
0
        public ActionResult Edit(Guid id)
        {
            var haber = haberService.Find(id);

            if (haber == null)
            {
                return(HttpNotFound());
            }
            return(View(haber));
        }
Exemplo n.º 2
0
        public ActionResult Details(string Slug)
        {
            var haber = haberService.Find(Slug);

            if (haber == null)
            {
                return(HttpNotFound());
            }

            return(View(haber));
        }