Beispiel #1
0
        /// <inheritdoc/>
        public IEnumerable <GetAllUserWorkshopsQuery.Workshop> GetAllUserWorkshops(GetAllUserWorkshopsQuery query)
        {
            IEnumerable <Workshop> workshops = _repository.GetAllUserWorkshops(query.Id);

            return(workshops.Select(w => w.Adapt <GetAllUserWorkshopsQuery.Workshop>()));
        }