public BoApiResponse <List <Report> > getVerdicts([FromBody()] ConfigMulti values)
        {
            var response = BoApiResponse <List <Report> > .Create(new List <Report>());

            foreach (var config in values.getConfigs())
            {
                response.Result.Add(new Paternity(config).getVerdict());
            }
            return(response);
        }
 public BoApiResponse <List <decimal> > getPaternityIndices([FromBody()] Config values)
 {
     return(BoApiResponse <List <decimal> > .Create(new Paternity(values).getPaternityIndices()));
 }
 public BoApiResponse <Report> getVerdict([FromBody()] Config values)
 {
     return(BoApiResponse <Report> .Create(new Paternity(values).getVerdict()));
 }
 public BoApiResponse <List <Country> > getCountries()
 {
     return(BoApiResponse <List <Country> > .Create(JsonConvert.DeserializeObject <List <Country> >(File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("~/JS/countries.json")))));
 }