public async Task <IViewComponentResult> InvokeAsync(string user) { var Currentuser = await _taskRepo.GetCurrentUser(user); int EmpId = Currentuser.EmpId; var data = await _taskRepo.GetCommunication(EmpId); return(View(data)); }