20 lines
421 B
C#
20 lines
421 B
C#
using Oqtane.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Oqtane.Services
|
|
{
|
|
public interface ITenantService
|
|
{
|
|
Task<List<Tenant>> GetTenantsAsync();
|
|
|
|
Task<Tenant> GetTenantAsync(int tenantId);
|
|
|
|
Task<Tenant> AddTenantAsync(Tenant tenant);
|
|
|
|
Task<Tenant> UpdateTenantAsync(Tenant tenant);
|
|
|
|
Task DeleteTenantAsync(int tenantId);
|
|
}
|
|
}
|