常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult> Uploads([FromForm] IFormFile file) { StreamReader reader = new StreamReader(file.OpenReadStream()); var checkUpload = await _librarymanager.AddBorrowers(reader); if (checkUpload == 0) { return(NotFound()); } return(Ok()); }