Beispiel #1
0
        public async Task <ActionResult> DeleteFile(string fileName)
        {
            bool res = await _azureService.DeleteFileAsync(fileName);

            if (res)
            {
                return(Ok("Deleted Successfully"));
            }

            return(StatusCode((int)HttpStatusCode.InternalServerError, "Error When Delete File!"));
        }