Beispiel #1
0
        public async Task <IActionResult> AddClient([FromBody] CreateClientDto input)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelStateErrors));
            }
            var result = await _clientAppService.AddClient(input);

            return(ResultResponse(result, "创建客户端成功"));
        }