Пример #1
0
        public async Task <JsonResult> Clone(long id)
        {
            var newId = await SpecFactory.Clone(id, UserSecurity);

            return(Json(JsonEnvelope.Success(new
            {
                url = BuildSpecificationType == BuildSpecificationTypeConstant.Application
                    ? Url.AppSpecsWizardFromClone(newId)
                    : Url.OsSpecsWizardFromClone(newId)
            })));
        }