DepartmentProject/DepartmentPortal/Common/DatabaseCore/DatabaseManager.cs

13 lines
283 B
C#
Raw Normal View History

namespace DatabaseCore
{
/// <summary>
/// Работа с БД
/// </summary>
public static class DatabaseManager
{
/// <summary>
/// Получение объекта от класса DbContext
/// </summary>
public static DatabaseContext GetContext => new();
}
}