public IEnumerable <BookTypeDto> SearchByName(string text) { return(mapper.Map <IEnumerable <BookTypeDto> >(_Irepository.SearchByName(text))); }