コード例 #1
0
        public async Task <HttpResponseMessage> GetUsersData()
        {
            AdminFactory _adminFactory = new AdminFactory();
            var          adminResponse = await _adminFactory.GetUsersData().ConfigureAwait(false);

            HttpResponseMessage response;

            response = Request.CreateResponse(HttpStatusCode.OK, adminResponse);
            return(response);
        }