public EFUnitOfWork(string connectionString) { db = new opContext(connectionString); userManager = new ApplicationUserManager(new UserStore <ApplicationUser>(db)); roleManager = new ApplicationRoleManager(new RoleStore <ApplicationRole>(db)); clientManager = new ClientManager(db); }
public StatisticRepository(opContext context) { db = context; }
public ClientManager(opContext db) { Database = db; }