public GroupDatabaseService(TgTranslatorContext databaseContext) { _databaseContext = databaseContext; }
public UsersDatabaseService(TgTranslatorContext databaseContext) { _databaseContext = databaseContext; }
public GroupsBlacklistService(TgTranslatorContext database, IOptions <TgTranslatorOptions> tgTranslatorOptions) { _database = database; _blacklistTime = TimeSpan.FromMinutes(tgTranslatorOptions.Value.BanTime); }