public async ValueTask EditAsync(int id, UploadFileViewModel uploadFile) { var model = await _uploadFileRepository.FindByIdAsync(id); await _uploadFileRepository.UpdateAsync(await uploadFile.UpdateUploadFileAsync(model)); }
public async ValueTask EditAsync(int id, UploadFileViewModel uploadFile) { var model = await _uploadFileRepository.FindByIdAsync(id); await _uploadFileRepository.UpdateAsync(await uploadFile.UpdateUploadFileAsync(model)); }