public IActionResult UploadPhotos(List <IFormFile> files) { var uploadObj = new UploadPhotos(_environment); List <string> filesPath = uploadObj.Upload(files); return(Ok(filesPath)); }