// GET: Gallery public ActionResult Index() { var list = _testimonialService.GetAll(); return(View(list)); }
public ActionResult Testimonials() { var viewModel = Mapper.Map <List <Testimonial>, List <TestimonialWithProjectViewModel> >(_testimonialService.GetAll()); return(View(viewModel)); }
// GET: Admin/Testimonial public ActionResult Index() { var viewModel = Mapper.Map <List <Testimonial>, List <TestimonialViewModel> >(_testimonialService.GetAll()); return(View(viewModel)); }