Esempio n. 1
0
        private async Task <List <ServiceVM> > GetServiceViewModels(List <Guid> ids)
        {
            var filterOperation = await _serviceBO.FilterAsync(x => ids.Contains(x.Id));

            var serviceList = new List <ServiceVM>();

            foreach (var item in filterOperation.Result)
            {
                serviceList.Add(ServiceVM.Parse(item));
            }

            return(serviceList);
        }