public async Task <JsonResult> GetUserData(string userId) { try { var userData = await _accountFacade.GetUserData(userId); return(Json(userData)); } catch (Exception e) { Response.StatusCode = 500; return(Json(e.Message + e.InnerException)); } }