public async Task <IActionResult> UploadFile(IEnumerable <IFormFile> files)
        {
            //"upload\\userimage\\normalimage\\"
            //"\\upload\\userimage\\thumbnailimage\\"
            string filename = _upload.UploadFiles(files, "upload\\userimage\\normalimage\\", "\\upload\\userimage\\thumbnailimage\\");

            return(Json(new { status = "success", message = "تصویر با موفقیت آپلود شد.", imagename = filename }));
        }
        public async Task <IActionResult> UploadFile(IEnumerable <IFormFile> files)
        {
            string filename = _upload.UploadFiles(files, "upload\\advImage\\", "");

            return(Json(new { status = "success", message = "تصویر با موفقیت آپلود شد.", imagename = filename }));
        }