<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyHeritage.Data.Abstract;

// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860

namespace MyHeritage.API.Controllers
{
    [Route("api/[controller]")]
    public class TreeController : Controller
    {
        private ITreeMemberHeritageRepository _treeMemberHeritageRepository;

        public TreeController(ITreeMemberHeritageRepository treeMemberHeritageRepository)
        {
            _treeMemberHeritageRepository = treeMemberHeritageRepository;
        }


        [HttpGet("GetAll/{id}")]
        public IActionResult GetAll(int id = 1)
        {
            var result = _treeMemberHeritageRepository.FindBy(t => t.LinkToMemberMasterId == id);<commit_msg>remove link<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyHeritage.Data.Abstract;

namespace MyHeritage.API.Controllers
{
    [Route("api/[controller]")]
    public class TreeController : Controller
    {
        private ITreeMemberHeritageRepository _treeMemberHeritageRepository;

        public TreeController(ITreeMemberHeritageRepository treeMemberHeritageRepository)
        {
            _treeMemberHeritageRepository = treeMemberHeritageRepository;
        }


        [HttpGet("GetAll/{id}")]
        public IActionResult GetAll(int id = 1)
        {
            var result = _treeMemberHeritageRepository.FindBy(t => t.LinkToMemberMasterId == id);
{'fraction_non_alphanumeric': 0.08399269628727937, 'fraction_numerical': 0.004869141813755326, 'mean_word_length': 3.807017543859649, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5556369', 'n_tokens_mistral': 443, 'n_tokens_neox': 439, 'n_words': 88}