Esempio n. 1
0
        public async Task <int> CloneTenant(CloneTenantDto dto)
        {
            var tenantId = await TenantDbManager.CloneTenantAsync(dto.TenantToCloneId, dto.CloneName);

            return(tenantId);
        }
        public async Task <ActionResult <CloneTenantDto> > CloneTenant([FromBody] CloneTenantDto dto)
        {
            var result = await TenantManager.CloneTenant(dto);

            return(Ok(result));
        }