Esempio n. 1
0
        public async Task <IActionResult> AddAsync(AddClientInputDto input)
        {
            await configHelper.AddClientAsync(new ClientConfig
            {
                Name      = input.Name,
                SecretKey = input.SecretKey
            });

            return(Json(new ResultDto {
                Success = true
            }));
        }