Exemplo n.º 1
0
        public async Task <JsonResult> PopulateStatusGraphAsync()
        {
            var user = await _userManager.FindByNameAsync(User.Identity.Name)
                       .ConfigureAwait(false);

            var statusList = await _chart.GetBugByStatusListAsync(user)
                             .ConfigureAwait(false);

            return(Json(statusList));
        }