public async Task <IActionResult> GetDenumireClient(string id) { return(Json(await _dashboardManager.GetDenumireClient(id))); }
public async Task <IActionResult> GetDenumireClient() { var clientId = _context.ApplicationUsers.FirstOrDefault(u => u.UserName == User.Identity.Name).ClientId; return(Json(await _dashboardManager.GetDenumireClient(clientId.ToString()))); }