public void SaveAttach(string fileName, string fileType, string filePath, string thumbPath, string fileSize, string fileExt) { AttachService attachService = new AttachService(); AttachInputDto attachInputDto = new AttachInputDto(); attachInputDto.FileName = fileName; attachInputDto.FileType = fileType; attachInputDto.FilePath = filePath; attachInputDto.FileSize = Convert.ToInt64(fileSize); attachInputDto.FileExt = fileExt; attachInputDto.ThumbPath = thumbPath; attachService.SubmitForm(attachInputDto, ""); }