예제 #1
0
        //let another class handle the fetching of data, just provide the URI and let it do its thing
        public async Task <ViewResult> StatusReport()
        {
            var apiclient = new SourceAPI(endpoint);
            var list      = await apiclient.FetchAccountStatusReport <Account>();

            var mappedList = MapDto(list);

            return(View(mappedList));
        }