mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-07-01 02:52:56 +00:00
15 lines
560 B
C#
15 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using CleanArchitecture.Application.ViewModels.Tenants;
|
|
|
|
namespace CleanArchitecture.Application.Interfaces;
|
|
|
|
public interface ITenantService
|
|
{
|
|
public Task<Guid> CreateTenantAsync(CreateTenantViewModel tenant);
|
|
public Task UpdateTenantAsync(UpdateTenantViewModel tenant);
|
|
public Task DeleteTenantAsync(Guid tenantId);
|
|
public Task<TenantViewModel?> GetTenantByIdAsync(Guid tenantId, bool deleted);
|
|
public Task<IEnumerable<TenantViewModel>> GetAllTenantsAsync();
|
|
} |