Mistři v programování na #hovnokod

C# #4661

štýl ala "Kapitán Andrej Danko"

public IEnumerable<PermissionGroupDto> Get()
        {
            var companyPermissionGroups = _ctx.CompanyPermissionGroups.Where(g => g.CompanyId == _user.CompanyId);
            return _ctx.PermissionGroups
                            .Include(g => g.Permissions)
                            .Join(
                                companyPermissionGroups,
                                c => c.Id,
                                t => t.PermissionGroupId,
                                (c, t) => _mapper.Map<PermissionGroupDto>(c)
                            );
        }

Anonymous,