public async Task <ActionResult> DeleteFaq(string id)
        {
            if (string.IsNullOrEmpty(id))
            {
                _logger.LogError("In cfaq controller,  deletefaq failed");
                return(BadRequest("No item Available."));
            }

            var numbAffected = await _faqRepo.DeleteAnFaq(id);

            if (numbAffected == 0)
            {
                _logger.LogError("In cfaq controller,  repo returned nothing from delete.");
                return(NotFound("The FAQ was not deleted."));
            }

            var confirm = _conf.ConfirmResponse(true, "The FAQ Item has been deleted successfully.");

            return(Ok(confirm));
        }