public UnitOfWork() { _context = new WingsAppContext(); _context.Database.EnsureCreated(); UserEventRepository = new UserEventRepository(_context); UserProfileRepository = new UserProfileRepository(_context); }
public UserProfileRepository(WingsAppContext context) { _context = context; }
public UserEventRepository(WingsAppContext context) { _context = context; }