public async Task <ActionResult <List <CheckInOutHistory> > > GetBySearchQuery(string searchQuery)
        {
            var histories = await _librarymanager.GetBySearchQuery(searchQuery);

            if (histories.Count() == 0)
            {
                return(NotFound());
            }
            return(Ok(histories));
        }