예제 #1
0
        public async Task <List <AppDto> > GetSystemAppAsync(IEnumerable <Int32> appIds = default)
        {
            var result = await _appContext.GetSystemAppAsync(appIds);

            return(result.Select(app => new AppDto
            {
                Id = app.Id,
                Name = app.Name,
                IconUrl = app.IconUrl
            }).ToList());
        }