public async Task <IEnumerable <GetListWorkshopViewModel> > GetAllApproved() { var workshops = await workshopRepository.GetAllApproved(); var viewModels = mapper.Map <IEnumerable <GetListWorkshopViewModel> >(workshops); return(viewModels); }