public async Task <IActionResult> Create(Agent agent) { await _agentRepository.AddNew(agent); return(RedirectToAction(nameof(Index))); }