Exemple #1
0
        /// <inheritdoc/>
        public IEnumerable <GetAllWorkshopsQuery.Workshop> GetAllWorkshops()
        {
            IEnumerable <Workshop> workshops = _repository.GetAllWorkshops();

            return(workshops.Select(w => w.Adapt <GetAllWorkshopsQuery.Workshop>()));
        }
Exemple #2
0
 public IEnumerable <Workshops> GetAllWorkshops()
 {
     return(workshopRepository.GetAllWorkshops());
 }
Exemple #3
0
 public IEnumerable <Workshop> GetAllWorkshops()
 {
     return(repo.GetAllWorkshops());
 }