[reputation] Use file-scoped namespaces.

This commit is contained in:
West14
2022-02-14 10:21:35 +02:00
parent d3ec6cfb4b
commit 05778f7960
3 changed files with 52 additions and 55 deletions
@@ -2,8 +2,8 @@
#nullable disable
namespace West.TelegramBot.Reputation.Migrations
{
namespace West.TelegramBot.Reputation.Migrations;
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
@@ -37,4 +37,3 @@ namespace West.TelegramBot.Reputation.Migrations
name: "UserReputation");
}
}
}
@@ -5,8 +5,8 @@ using West.TelegramBot.Reputation.Data;
#nullable disable
namespace West.TelegramBot.Reputation.Migrations
{
namespace West.TelegramBot.Reputation.Migrations;
[DbContext(typeof(ReputationContext))]
partial class ReputationContextModelSnapshot : ModelSnapshot
{
@@ -37,4 +37,3 @@ namespace West.TelegramBot.Reputation.Migrations
#pragma warning restore 612, 618
}
}
}
+2 -3
View File
@@ -6,8 +6,8 @@ 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 Reputation(Core core) : base(core)
@@ -22,4 +22,3 @@ namespace West.TelegramBot.Reputation
services.AddScoped<IReputation, ReputationService>();
}
}
}