using System; using System.Threading.Tasks; using CleanArchitecture.Application.ViewModels; using CleanArchitecture.Application.ViewModels.Sorting; using CleanArchitecture.Application.ViewModels.Tenants; namespace CleanArchitecture.Application.Interfaces; public interface ITenantService { public Task CreateTenantAsync(CreateTenantViewModel tenant); public Task UpdateTenantAsync(UpdateTenantViewModel tenant); public Task DeleteTenantAsync(Guid tenantId); public Task GetTenantByIdAsync(Guid tenantId); public Task> GetAllTenantsAsync( PageQuery query, bool includeDeleted, string searchTerm = "", SortQuery? sortQuery = null); }