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,8 +2,8 @@
|
|||||||
|
|
||||||
#nullable disable
|
#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)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
@@ -37,4 +37,3 @@ namespace West.TelegramBot.Reputation.Migrations
|
|||||||
name: "UserReputation");
|
name: "UserReputation");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ using West.TelegramBot.Reputation.Data;
|
|||||||
|
|
||||||
#nullable disable
|
#nullable disable
|
||||||
|
|
||||||
namespace West.TelegramBot.Reputation.Migrations
|
namespace West.TelegramBot.Reputation.Migrations;
|
||||||
{
|
|
||||||
[DbContext(typeof(ReputationContext))]
|
[DbContext(typeof(ReputationContext))]
|
||||||
partial class ReputationContextModelSnapshot : ModelSnapshot
|
partial class ReputationContextModelSnapshot : ModelSnapshot
|
||||||
{
|
{
|
||||||
@@ -37,4 +37,3 @@ namespace West.TelegramBot.Reputation.Migrations
|
|||||||
#pragma warning restore 612, 618
|
#pragma warning restore 612, 618
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ using Microsoft.Extensions.DependencyInjection;
|
|||||||
using West.TelegramBot.Reputation.Data;
|
using West.TelegramBot.Reputation.Data;
|
||||||
using West.TelegramBot.Reputation.Service;
|
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)
|
public Reputation(Core core) : base(core)
|
||||||
@@ -22,4 +22,3 @@ namespace West.TelegramBot.Reputation
|
|||||||
services.AddScoped<IReputation, ReputationService>();
|
services.AddScoped<IReputation, ReputationService>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user