public async Task <IActionResult> AssignCompaniesToTenant(Guid tenantId)//only for Spectrum { try { await _migrationManager.AssignToTenant(tenantId); return(Ok()); } catch (KeyNotFoundException ex) { return(NotFound(ex.Message)); } }
public async Task <IActionResult> AssignCompaniesToTenant(Guid tenantId)//only for Spectrum { try { await _migrationManager.AssignToTenant(tenantId); return(Ok()); } catch (KeyNotFoundException ex) { return(NotFound(ex.Message)); } }