示例#1
0
        public async Task <IActionResult> Create(ClientViewModel client)
        {
            var clientInput = ObjectMapper.Map <CreateClientInput>(client);
            var result      = await _clientAppService.CreateClient(clientInput);

            return(Redirect(nameof(Index)));
        }