Ejemplo n.º 1
0
        // GET: Gallery
        public ActionResult Index()
        {
            var list = _testimonialService.GetAll();

            return(View(list));
        }
Ejemplo n.º 2
0
        public ActionResult Testimonials()
        {
            var viewModel = Mapper.Map <List <Testimonial>, List <TestimonialWithProjectViewModel> >(_testimonialService.GetAll());

            return(View(viewModel));
        }
Ejemplo n.º 3
0
        // GET: Admin/Testimonial
        public ActionResult Index()
        {
            var viewModel = Mapper.Map <List <Testimonial>, List <TestimonialViewModel> >(_testimonialService.GetAll());

            return(View(viewModel));
        }