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