Files
Telegram-Panel/src/TelegramPanel.Data/Repositories/IBotChannelCategoryRepository.cs
T

11 lines
305 B
C#

using TelegramPanel.Data.Entities;
namespace TelegramPanel.Data.Repositories;
public interface IBotChannelCategoryRepository : IRepository<BotChannelCategory>
{
Task<IEnumerable<BotChannelCategory>> GetForBotAsync(int botId);
Task<BotChannelCategory?> GetByNameAsync(int botId, string name);
}