using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { /// /// Service to manage s on the Oqtane installation. /// public interface ITenantService { /// /// Get all s /// /// Task> GetTenantsAsync(); /// /// Get one specific /// /// ID-reference of the /// Task GetTenantAsync(int tenantId); /// /// Add / save another to the database /// /// A object containing the configuration /// Task AddTenantAsync(Tenant tenant); /// /// Update the information in the database. /// /// /// Task UpdateTenantAsync(Tenant tenant); /// /// Delete / remove a /// /// /// Task DeleteTenantAsync(int tenantId); } }