DepartmentProject/DepartmentPortal/Common/CoreDatabase/DatabaseManager.cs

13 lines
283 B
C#
Raw Normal View History

2022-03-18 22:55:48 +04:00
namespace CoreDatabase
{
/// <summary>
/// Работа с БД
/// </summary>
public static class DatabaseManager
{
/// <summary>
/// Получение объекта от класса DbContext
/// </summary>
public static DatabaseContext GetContext => new();
}
}