using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Repositories;
using Yi.Framework.Ddd.Application;
using Yi.Framework.SqlSugarCore.Abstractions;
using Yi.Framework.TenantManagement.Application.Contracts;
using Yi.Framework.TenantManagement.Application.Contracts.Dtos;
using Yi.Framework.TenantManagement.Domain;
namespace Yi.Framework.TenantManagement.Application
{
///
/// 租户管理
///
public class TenantService : YiCrudAppService, ITenantService
{
private ISqlSugarRepository _repository;
public TenantService(ISqlSugarRepository repository) : base(repository)
{
_repository = repository;
}
///
/// 租户单查
///
///
///
public override Task GetAsync(Guid id)
{
return base.GetAsync(id);
}
///
/// 租户多查
///
///
///
public override Task> GetListAsync(TenantGetListInput input)
{
return base.GetListAsync(input);
}
///
/// 创建租户
///
///
///
public override Task CreateAsync(TenantCreateInput input)
{
return base.CreateAsync(input);
}
///
/// 更新租户
///
///
///
///
public override Task UpdateAsync(Guid id, TenantUpdateInput input)
{
return base.UpdateAsync(id, input);
}
///
/// 租户删除
///
///
///
public override Task DeleteAsync(IEnumerable id)
{
return base.DeleteAsync(id);
}
}
}