public async Task <IActionResult> HttpPostCalcConfig([FromBody] ReceiveContentArgs args, [FromServices] HttpPostContentReciever2 command) => await command.Execute(args, new DestinationArgs { Path = _ContentPathProvider.RiskCalculationParameters, Name = args.PublishingId });
public async Task <IActionResult> HttpPostEks([FromBody] ReceiveContentArgs args, [FromServices] HttpPostContentReciever2 command) => await command.Execute(args, new DestinationArgs { Path = _ContentPathProvider.ExposureKeySet, Name = args.PublishingId });
public async Task <IActionResult> HttpPostManifest([FromBody] ReceiveContentArgs args, [FromServices] ManifestBlobWriter blobWriter, [FromServices] IQueueSender <StorageAccountSyncMessage> qSender) { var command = new HttpPostContentReciever2(blobWriter, qSender); return(await command.Execute(args, new DestinationArgs { Path = _ContentPathProvider.Manifest, Name = EndPointNames.ManifestName })); }