Exemple #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));
            }
        }
Exemple #2
0
        public virtual async Task DeleteAsync(RouteGroupGetByAppIdInputDto routerGetByAppId)
        {
            var router = await RouterRepository.GetByAppIdAsync(routerGetByAppId.AppId);

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