//method to delete a tenant

        public Tenant DeleteATenant(long tenantIdInput)
        {
            return(_tenantStorageList.Remove(tenantIdInput));
        }
        //method to delete a tenant

        public void DeleteATenant(Guid tenantIdInput)
        {
            _tenantStorageList.Remove(tenantIdInput);
        }
Exemple #3
0
        //method to delete a tenant

        public void DeleteATenant(Guid tenantIdInput, Guid userId)
        {
            _tenantStorage.Remove(tenantIdInput, userId);
        }