public async Task <IActionResult> AgentUnBlock(int id) { _agentService.AgentUnBlock(id); List <User> usersOfAgentBlock = _agentService.FindAgentUsersForBlock(id); foreach (User user in usersOfAgentBlock) { await UserUnBlock(user.Id); } return(View(_agentService.Get(id))); }