mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[reputation] Use file-scoped namespaces.
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace West.TelegramBot.Reputation.Migrations
|
||||
namespace West.TelegramBot.Reputation.Migrations;
|
||||
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterDatabase()
|
||||
@@ -36,5 +36,4 @@ namespace West.TelegramBot.Reputation.Migrations
|
||||
migrationBuilder.DropTable(
|
||||
name: "UserReputation");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,11 +5,11 @@ using West.TelegramBot.Reputation.Data;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace West.TelegramBot.Reputation.Migrations
|
||||
namespace West.TelegramBot.Reputation.Migrations;
|
||||
|
||||
[DbContext(typeof(ReputationContext))]
|
||||
partial class ReputationContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
[DbContext(typeof(ReputationContext))]
|
||||
partial class ReputationContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
@@ -36,5 +36,4 @@ namespace West.TelegramBot.Reputation.Migrations
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,10 +6,10 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using West.TelegramBot.Reputation.Data;
|
||||
using West.TelegramBot.Reputation.Service;
|
||||
|
||||
namespace West.TelegramBot.Reputation
|
||||
namespace West.TelegramBot.Reputation;
|
||||
|
||||
public class Reputation : Module
|
||||
{
|
||||
public class Reputation : Module
|
||||
{
|
||||
public Reputation(Core core) : base(core)
|
||||
{
|
||||
}
|
||||
@@ -21,5 +21,4 @@ namespace West.TelegramBot.Reputation
|
||||
|
||||
services.AddScoped<IReputation, ReputationService>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user