//GetAllPreSerches
 public static List <PreSerches1> GetAllPreSerches()
 {
     return(PreSearchesConvertor.ConvertToListDto(PreSearchesDL.GetAllPreSerches()));
 }
        //GetWordIdByName
        public static List <PreSerches1> GetWordIdContainsName(string preSearch)
        {
            List <PreSearches> lst = new List <PreSearches>(PreSearchesDL.GetAllPreSerches());

            return(PreSearchesConvertor.ConvertToListDto(lst.Where(p => p.PreSearch.Contains(preSearch)).ToList()));
        }
        //GetById
        public static List <PreSerches1> GetById(int preSercheId)
        {
            List <PreSearches> lst = new List <PreSearches>(PreSearchesDL.GetAllPreSerches());

            return(PreSearchesConvertor.ConvertToListDto(lst.Where(k => k.Id == preSercheId).ToList()));
        }