You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
714 B
28 lines
714 B
using Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Model;
|
|
|
|
namespace Business
|
|
{
|
|
public partial class DbData : IDataManager
|
|
{
|
|
|
|
public DbData(LolDbContext dbContext)
|
|
{
|
|
DbContext = dbContext;
|
|
ChampionsMgr = new ChampionsManager(this);
|
|
SkinsMgr = new SkinsManager(this);
|
|
RunesMgr = new RunesManager(this);
|
|
RunePagesMgr = new RunePagesManager(this);
|
|
}
|
|
protected LolDbContext DbContext{ get; }
|
|
|
|
public IChampionsManager ChampionsMgr { get; }
|
|
|
|
public ISkinsManager SkinsMgr { get; }
|
|
|
|
public IRunesManager RunesMgr { get; }
|
|
|
|
public IRunePagesManager RunePagesMgr { get; }
|
|
}
|
|
} |