public async Task <IActionResult> Delete(string id)
        {
            SecurityModel securityModel          = (SecurityModel)(HttpContext.Items["SecurityModel"]);
            ResponseModel <BookDetails> response = new ResponseModel <BookDetails>();

            try
            {
                response = await _inventoryServices.SoftDeleteAsync(id, securityModel);

                response.Token = securityModel.Token;
                if (!response.Status)
                {
                    return(BadRequest(response));
                }
                return(Ok(response));
            }
            catch (Exception ex)
            {
                response.Status = false;
                response.ReturnMessage.Add(ex.Message);
                return(BadRequest(response));
            }
        }