mirror of https://github.com/abpframework/eventhub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
901 B
28 lines
901 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Application.Services;
|
|
using Volo.Abp.Content;
|
|
|
|
namespace EventHub.Organizations
|
|
{
|
|
public interface IOrganizationAppService : IApplicationService
|
|
{
|
|
Task<OrganizationDto> CreateAsync(CreateOrganizationDto input);
|
|
|
|
Task<PagedResultDto<OrganizationInListDto>> GetListAsync(OrganizationListFilterDto input);
|
|
|
|
Task<OrganizationProfileDto> GetProfileAsync(string name);
|
|
|
|
Task<ListResultDto<OrganizationInListDto>> GetOrganizationsByUserIdAsync(Guid userId);
|
|
|
|
Task<bool> IsOrganizationOwnerAsync(Guid organizationId);
|
|
|
|
Task UpdateAsync(Guid id, UpdateOrganizationDto input);
|
|
|
|
Task<IRemoteStreamContent> GetProfilePictureAsync(Guid id);
|
|
|
|
Task<List<PlanInfoDefinitionDto>> GetPlanInfosAsync();
|
|
}
|
|
}
|
|
|