public async Task <IActionResult> DeleteDoc(string docName)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var DocName = docName.Split(",,")[1];
            var file    = _fileProvider.GetFileInfo(DocName);

            if (file.Exists)
            {
                var result = ReadTxtContent(file.PhysicalPath, DocName);
                if (result == null)
                {
                    _response.Success = false;
                    _response.Message = CustomMessage.RecordNotFound;
                    return(Ok(_response));
                }
                _response = await _repo.DeleteDoc(file.PhysicalPath, docName);

                return(Ok(_response));
            }
            _response.Success = false;
            _response.Message = CustomMessage.RecordNotFound;
            return(Ok(_response));
        }