/// <summary>
        /// Deletes a tenant using their id.
        /// </summary>
        /// <param name="id">The ID of the tenant</param>
        public async Task DeleteByIdAsync(Guid id)
        {
            var tenant = await _context.Tenant.FindAsync(id);

            _context.Remove(tenant);
        }