using Myshipping.Core.Entity;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Myshipping.Core.Service;

public interface ISysTenantService
{
    Task AddTenant(AddTenantInput input);
    Task DeleteTenant(DeleteTenantInput input);
    Task<SysTenant> GetTenant([FromQuery] QueryTenantInput input);
    Task GrantMenu(GrantRoleMenuInput input);
    Task InitNewTenant(SysTenant newTenant);
    //Task<List<long>> OwnMenu([FromQuery] QueryTenantInput input);
    Task<List<OwnMenuOutput>> OwnMenu([FromQuery] QueryTenantInput input);
    Task<dynamic> QueryTenantPageList([FromQuery] TenantInput input);
    Task ResetUserPwd(QueryTenantInput input);
    Task UpdateTenant(UpdateTenantInput input);
}