public async Task <UploadStreamResponse> UploadStreamById(UploadStreamByIdRequest request) { var hash = await Task.Run(() => new SymetricCryptoService().ComputeHash(request.Data)); return(CryptoService.ToStringX2(hash)); }
public Task <UploadStreamResponse> UploadStreamById(string id, [ModelBinder(typeof(CybtansModelBinder))] UploadStreamByIdRequest __request) { __request.Id = id; return(_service.UploadStreamById(__request)); }