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

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