16 lines
522 B
C#
16 lines
522 B
C#
using MagicOnion;
|
|
using DysonNetwork.Shared.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DysonNetwork.Shared.Services;
|
|
|
|
public interface IPublisherService : IService<IPublisherService>
|
|
{
|
|
Task<Publisher?> GetPublisherByName(string name);
|
|
Task<List<Publisher>> GetUserPublishers(Guid accountId);
|
|
Task<bool> IsMemberWithRole(Guid publisherId, Guid accountId, PublisherMemberRole role);
|
|
Task<List<PublisherFeature>> GetPublisherFeatures(Guid publisherId);
|
|
}
|