public List <PLSearchResult> GetPLByAOP(string AOPName)
        {
            var query   = new CGN.Paralegal.BusinessEntities.Search.PLSearchRequest();
            var outlist = new PLSearchResult();

            query.SearchQuery = String.Format("{0}:{1}", "AOP", AOPName);
            var srcResult = SearchBO.GetParalegalByAOP(query);

            return(srcResult.ConvertAll <PLSearchResult>(new Converter <CGN.Paralegal.BusinessEntities.Search.PLSearchResult, PLSearchResult>(ConvertToSearchResult)));
        }
Exemplo n.º 2
0
 public void AddParalegal(PLSearchResult paralegal)
 {
     var respose = esClient.Index(paralegal, i => i.Id(paralegal.PLID)
                                  );
 }