public string Exe(ICqrsInput input) { IWebHydraContext context = new WebHydraContext() { User = _auth.GetUserFromToken(input.Auth) }; Console.WriteLine(context.ToString()); IPackage package = _jsonMessageToPackageConverter.Convert(input.Body); IMessage message = _messageBuilder.BuildMessageFromPackage(package); Console.WriteLine("Executing " + message + "..."); var ret = _cqrsBus.Execute(message, context); string json = JsonConvert.SerializeObject(ret); Console.WriteLine($"Message result: {json}."); return(json); }