Beispiel #1
0
        public GetBodyById()
        {
            Get["/messages/{id*}/body", true] = async(parameters, token) =>
            {
                var messageId = parameters.id;

                return(await GetBodyByIdApi.Execute(this, messageId));
            };
        }
Beispiel #2
0
 internal GetBodyByIdController(GetBodyByIdApi getBodyByIdApi)
 {
     this.getBodyByIdApi = getBodyByIdApi;
 }