示例#1
0
        public virtual async Task <IList <OcelotReRouteDto> > GetReRoutesAsync(Guid id)
        {
            var reRoutes = await OcelotRepository.GetReRoutesAsync(id);

            return(ObjectMapper.Map <IList <OcelotReRoute>, IList <OcelotReRouteDto> >(reRoutes));
        }