using MineTec.ProManager.Organizations;
using System.Threading.Tasks;

namespace MineTec.ProManager.TaskCenter.AntiCorruption
{
    public class OrganizationService : IOrganizationService
    {
        private readonly IOrganizationUnitAppService _organizationUnitAppService;

        public OrganizationService(IOrganizationUnitAppService organizationUnitAppService)
        {
            _organizationUnitAppService = organizationUnitAppService;
        }

        public async Task GetOrganizationListAsync()
        {
            var test = await _organizationUnitAppService.GetAllOrganizationUnitTree();
        }
    }
}
