public async Task <ActionResult <CheckInOutHistory> > AddHistory([FromBody] CheckInOutHistoryDTO historyDTO)
        {
            var history  = _mapper.Map <CheckInOutHistory>(historyDTO);
            var checkAdd = await _librarymanager.AddHistory(history);

            if (checkAdd == 0)
            {
                return(NotFound());
            }
            return(Ok());
        }