public IActionResult CheckOut(RegisterIndexModel RegModel)
        {
            var LibraryAssetModel = _ILibraryAsset.GetById(RegModel.id);

            var model = new CheckOut {
                LibraryAsset = LibraryAssetModel,
                FullName     = RegModel.FullName,
                Since        = RegModel.Since,
                Until        = RegModel.Untill.Date,
                Confirm      = false
            };

            _ICheckOut.AddCheckOut(model);
            _ILibraryAsset.updateStatus(RegModel.id, 1);

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