コード例 #1
0
        public async Task <HttpResponseMessage> GetAsync(long id)
        {
            var result = await _accountApplicationService.GetPrivateInformationsByIdAsync(Request.Headers.Authorization.Parameter, id);

            return(Request.CreateResponse(HttpStatusCode.OK, Mapper.Map <AccountModel>(result)));
        }