Exemplo n.º 1
0
 public async Task <ActionResult <FileInfo> > AddChartFileAsync(Guid releaseId, IFormFile file)
 {
     return(await _releaseFileService
            .UploadChart(releaseId, file)
            .HandleFailuresOrOk());
 }
Exemplo n.º 2
0
 public async Task <ActionResult <FileInfo> > UpdateChartFile(Guid releaseId, Guid id, IFormFile file)
 {
     return(await _releaseFileService
            .UploadChart(releaseId, file, replacingId : id)
            .HandleFailuresOrOk());
 }