예제 #1
0
        public async Task <List <DroneDto> > BrowseAsync(BrowseDrones browseDrones)
        {
            var list = await _repository.BrowseAsync();

            list = list.Where(x => x.OrganisationId == browseDrones.OrganisationId).ToList();
            return(_mapper.Map <List <DroneDto> >(list));
        }