Beispiel #1
0
        public virtual async Task <RouteGroupDto> GetAsync(RouteGroupGetByAppIdInputDto routerGetByAppId)
        {
            using (DataFilter.Disable <IActivation>())
            {
                var router = await RouterRepository.GetByAppIdAsync(routerGetByAppId.AppId);

                return(ObjectMapper.Map <RouteGroup, RouteGroupDto>(router));
            }
        }
Beispiel #2
0
        public virtual async Task DeleteAsync(RouteGroupGetByAppIdInputDto routerGetByAppId)
        {
            var router = await RouterRepository.GetByAppIdAsync(routerGetByAppId.AppId);

            await RouterRepository.DeleteAsync(router);
        }
Beispiel #3
0
 public virtual async Task DeleteAsync(RouteGroupGetByAppIdInputDto input)
 {
     await RouterAppService.DeleteAsync(input);
 }
Beispiel #4
0
 public virtual async Task <RouteGroupDto> GetAsync(RouteGroupGetByAppIdInputDto input)
 {
     return(await RouterAppService.GetAsync(input));
 }