public IActionResult CheckIn(int id)
        {
            var checkOutModel = _ICheckOut.GetByLibraryAssetId(id);

            if (checkOutModel == null)
            {
                return(RedirectToAction("Index"));
            }


            _ILibraryAsset.updateStatus(id, 2);
            _ICheckOut.ConfirmReturnedBook(checkOutModel.id);

            return(RedirectToAction("Details", new { id = id }));
        }