Exemplo n.º 1
0
 public async Task <IActionResult> UploadAsync(
     [FromForm] UploadModel model)
 {
     return(Json(await _uploadService.CreateAsync(
                     UserGuid, Request.Form.Files, model.Password, model.ExpireAfter)));
 }