Пример #1
0
        public ActionResult Details(int id)
        {
            var model = _testimonialService.GetTestimonialDetailModel(id);

            if (model == null)
            {
                SetErrorMessage(T("Testimonial_Message_ObjectNotFound"));
                return(RedirectToAction("Index"));
            }
            return(View(model));
        }