Beispiel #1
0
        public async Task <IActionResult> Clone([FromBody] CloneModel model)
        {
            _logger.Info("Requesting clone app with {@model}", model);
            var newId = await _appRepository.CloneAsync(model.CloneId, model.CloneName);

            await _localizationRepository.CloneLocalization(model.CloneId, newId);

            return(Ok());
        }