Example #1
0
        public async Task <IActionResult> Create(Agent agent)
        {
            await _agentRepository.AddNew(agent);

            return(RedirectToAction(nameof(Index)));
        }